diff --git a/src/matrix/net/HomeServerApi.js b/src/matrix/net/HomeServerApi.js index e06fb2d4..f8c09804 100644 --- a/src/matrix/net/HomeServerApi.js +++ b/src/matrix/net/HomeServerApi.js @@ -131,8 +131,10 @@ export class HomeServerApi { } receipt(roomId, receiptType, eventId, options = null) { - return this._post(`/rooms/${encodeURIComponent(roomId)}/receipt/${encodeURIComponent(receiptType)}/${encodeURIComponent(eventId)}`, - {}, {}, options); + if(!this._isGuestAccount()) { + return this._post(`/rooms/${encodeURIComponent(roomId)}/receipt/${encodeURIComponent(receiptType)}/${encodeURIComponent(eventId)}`, + {}, {}, options); + } } passwordLogin(username, password, initialDeviceDisplayName, options = null) {