diff --git a/app/lib/rocketchat/services/restApi.ts b/app/lib/rocketchat/services/restApi.ts index 2e9a39be..87fc879e 100644 --- a/app/lib/rocketchat/services/restApi.ts +++ b/app/lib/rocketchat/services/restApi.ts @@ -54,7 +54,7 @@ export const e2eUpdateGroupKey = (uid: string, rid: string, key: string): any => // RC 0.70.0 sdk.post('e2e.updateGroupKey', { uid, rid, key }); -export const e2eRequestRoomKey = (rid: string, e2eKeyId: string) => +export const e2eRequestRoomKey = (rid: string, e2eKeyId: string): Promise<{ message: { msg?: string }; success: boolean }> => // RC 0.70.0 sdk.methodCallWrapper('stream-notify-room-users', `${rid}/e2ekeyRequest`, rid, e2eKeyId);