Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F32428323
D7018.1765354395.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D7018.1765354395.diff
View Options
diff --git a/web/chat/composed-message.react.js b/web/chat/composed-message.react.js
--- a/web/chat/composed-message.react.js
+++ b/web/chat/composed-message.react.js
@@ -66,6 +66,7 @@
render(): React.Node {
assertComposableMessageType(this.props.item.messageInfo.type);
const { borderRadius, item, threadInfo } = this.props;
+ const { hasBeenEdited } = item;
const { id, creator } = item.messageInfo;
const threadColor = threadInfo.color;
@@ -123,15 +124,18 @@
let inlineEngagement = null;
if (
(this.props.containsInlineEngagement && 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 = (
<div className={css.sidebarMarginBottom}>
<InlineEngagement
threadInfo={item.threadCreatedFromMessage}
reactions={item.reactions}
positioning={positioning}
+ label={label}
/>
</div>
);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Dec 10, 8:13 AM (19 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5862354
Default Alt Text
D7018.1765354395.diff (1 KB)
Attached To
Mode
D7018: [web] Displaying 'Edit' label next to edited messages
Attached
Detach File
Event Timeline
Log In to Comment