Page MenuHomePhabricator

D7066.id23711.diff
No OneTemporary

D7066.id23711.diff

diff --git a/native/chat/composed-message.react.js b/native/chat/composed-message.react.js
--- a/native/chat/composed-message.react.js
+++ b/native/chat/composed-message.react.js
@@ -64,6 +64,7 @@
...viewProps
} = this.props;
const { id, creator } = item.messageInfo;
+ const { hasBeenEdited } = item;
const { isViewer } = creator;
const alignStyle = isViewer
@@ -134,14 +135,17 @@
let inlineEngagement = null;
if (
item.threadCreatedFromMessage ||
- Object.keys(item.reactions).length > 0
+ Object.keys(item.reactions).length > 0 ||
+ hasBeenEdited
) {
const positioning = isViewer ? 'right' : 'left';
+ const label = hasBeenEdited ? 'Edited' : null;
inlineEngagement = (
<InlineEngagement
threadInfo={item.threadCreatedFromMessage}
reactions={item.reactions}
positioning={positioning}
+ label={label}
/>
);
}

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 27, 4:31 PM (20 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2590993
Default Alt Text
D7066.id23711.diff (972 B)

Event Timeline