Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F32299676
D6966.1765284437.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
651 B
Referenced Files
None
Subscribers
None
D6966.1765284437.diff
View Options
diff --git a/lib/selectors/chat-selectors.js b/lib/selectors/chat-selectors.js
--- a/lib/selectors/chat-selectors.js
+++ b/lib/selectors/chat-selectors.js
@@ -401,6 +401,7 @@
const newText = targetMessageEditMap.get(messageInfo.id);
if (newText !== undefined) {
messageInfo.text = newText;
+ messageInfo.hasBeenEdited = true;
}
}
diff --git a/lib/types/messages/text.js b/lib/types/messages/text.js
--- a/lib/types/messages/text.js
+++ b/lib/types/messages/text.js
@@ -29,4 +29,5 @@
+creator: RelativeUserInfo,
+time: number, // millisecond timestamp
text: string,
+ hasBeenEdited?: boolean,
};
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Dec 9, 12:47 PM (10 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5854434
Default Alt Text
D6966.1765284437.diff (651 B)
Attached To
Mode
D6966: [lib] Add 'hasBeenEdited' status to messages
Attached
Detach File
Event Timeline
Log In to Comment