Page MenuHomePhabricator

D5698.diff
No OneTemporary

D5698.diff

diff --git a/lib/shared/messages/reaction-message-spec.js b/lib/shared/messages/reaction-message-spec.js
--- a/lib/shared/messages/reaction-message-spec.js
+++ b/lib/shared/messages/reaction-message-spec.js
@@ -19,6 +19,15 @@
RawReactionMessageInfo,
ReactionMessageInfo,
> = Object.freeze({
+ messageContentForServerDB(
+ data: ReactionMessageData | RawReactionMessageInfo,
+ ): string {
+ return JSON.stringify({
+ reaction: data.reaction,
+ action: data.action,
+ });
+ },
+
messageContentForClientDB(data: RawReactionMessageInfo): string {
return JSON.stringify({
targetMessageID: data.targetMessageID,

File Metadata

Mime Type
text/plain
Expires
Thu, Nov 28, 10:51 PM (21 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2595099
Default Alt Text
D5698.diff (651 B)

Event Timeline