diff --git a/src/matrix/net/HomeServerApi.js b/src/matrix/net/HomeServerApi.js index 30d036cb..2d5703dd 100644 --- a/src/matrix/net/HomeServerApi.js +++ b/src/matrix/net/HomeServerApi.js @@ -135,7 +135,7 @@ export class HomeServerApi { return this._post(`/rooms/${encodeURIComponent(roomId)}/receipt/${encodeURIComponent(receiptType)}/${encodeURIComponent(eventId)}`, {}, {}, options); } - return () => {}; + return Promise.resolve(() => {}); } passwordLogin(username, password, initialDeviceDisplayName, options = null) {