Page MenuHomePhabricator

D4982.diff
No OneTemporary

D4982.diff

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
@@ -104,7 +104,13 @@
sendMultimediaMessageRequestInputValidator,
request,
);
+ return legacyMultimediaMessageCreationResponder(viewer, request);
+}
+async function legacyMultimediaMessageCreationResponder(
+ viewer: Viewer,
+ request: SendMultimediaMessageRequest,
+): Promise<SendMessageResponse> {
const { threadID, localID, mediaIDs } = request;
if (mediaIDs.length === 0) {
throw new ServerError('invalid_parameters');

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 26, 6:00 AM (20 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2583190
Default Alt Text
D4982.diff (668 B)

Event Timeline