From ffa8966058a8a0536e34b9915f95219ddf566f1c Mon Sep 17 00:00:00 2001 From: Richard Lewis Date: Thu, 8 Jul 2021 00:00:11 +0100 Subject: [PATCH] Return a function, for consistency --- src/matrix/net/HomeServerApi.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/matrix/net/HomeServerApi.js b/src/matrix/net/HomeServerApi.js index f8c09804..30d036cb 100644 --- a/src/matrix/net/HomeServerApi.js +++ b/src/matrix/net/HomeServerApi.js @@ -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) {