Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3491863
D6398.id21382.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
956 B
Referenced Files
None
Subscribers
None
D6398.id21382.diff
View Options
diff --git a/keyserver/src/responders/message-responders.js b/keyserver/src/responders/message-responders.js
--- a/keyserver/src/responders/message-responders.js
+++ b/keyserver/src/responders/message-responders.js
@@ -20,11 +20,7 @@
import type { TextMessageData } from 'lib/types/messages/text';
import { threadPermissions } from 'lib/types/thread-types';
import { ServerError } from 'lib/utils/errors';
-import {
- tString,
- tShape,
- tMediaMessageMedia,
-} from 'lib/utils/validation-utils';
+import { tShape, tMediaMessageMedia } from 'lib/utils/validation-utils';
import createMessages from '../creators/message-creator';
import { SQL } from '../database/database';
@@ -194,7 +190,7 @@
threadID: t.String,
localID: t.maybe(t.String),
targetMessageID: t.String,
- reaction: tString('👍'),
+ reaction: t.String,
action: t.enums.of(['add_reaction', 'remove_reaction']),
});
async function reactionMessageCreationResponder(
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 19, 8:55 PM (5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2678848
Default Alt Text
D6398.id21382.diff (956 B)
Attached To
Mode
D6398: [keyserver] change reaction type from just like emoji to any emoji
Attached
Detach File
Event Timeline
Log In to Comment