diff --git a/src/matrix/net/HomeServerApi.js b/src/matrix/net/HomeServerApi.js index 2d5703dd..8e9d72b1 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 Promise.resolve(() => {}); + return {response: () => Promise.resolve(null)}; } passwordLogin(username, password, initialDeviceDisplayName, options = null) {