Return a function, for consistency

This commit is contained in:
Richard Lewis 2021-07-08 00:00:11 +01:00
parent fd749ecc2b
commit ffa8966058

View File

@ -135,6 +135,7 @@ export class HomeServerApi {
return this._post(`/rooms/${encodeURIComponent(roomId)}/receipt/${encodeURIComponent(receiptType)}/${encodeURIComponent(eventId)}`,
{}, {}, options);
}
return () => {};
}
passwordLogin(username, password, initialDeviceDisplayName, options = null) {