Page MenuHomePhabricator

D12990.diff
No OneTemporary

D12990.diff

diff --git a/lib/actions/thread-actions.js b/lib/actions/thread-actions.js
--- a/lib/actions/thread-actions.js
+++ b/lib/actions/thread-actions.js
@@ -269,6 +269,9 @@
success: 'LEAVE_THREAD_SUCCESS',
failed: 'LEAVE_THREAD_FAILED',
});
+const leaveThreadEndpointOptions = {
+ timeout: permissionsAndAuthRelatedRequestTimeout,
+};
const leaveThread =
(
callKeyserverEndpoint: CallKeyserverEndpoint,
@@ -277,7 +280,11 @@
const keyserverID = extractKeyserverIDFromID(input.threadID);
const requests = { [keyserverID]: input };
- const responses = await callKeyserverEndpoint('leave_thread', requests);
+ const responses = await callKeyserverEndpoint(
+ 'leave_thread',
+ requests,
+ leaveThreadEndpointOptions,
+ );
const response = responses[keyserverID];
return {
updatesResult: response.updatesResult,

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 23, 1:17 AM (18 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2567012
Default Alt Text
D12990.diff (872 B)

Event Timeline