Always resolve with a promise

This commit is contained in:
Richard Lewis 2021-07-08 00:13:03 +01:00
parent ffa8966058
commit 26ec4853e7

View file

@ -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) {