We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a28b2b7 + 9e78f83 commit 57725e7Copy full SHA for 57725e7
src/matrix/Sync.js
@@ -375,7 +375,7 @@ export class Sync {
375
376
_parseInvites(roomsSection) {
377
const inviteStates = [];
378
- if (roomsSection.invite) {
+ if (roomsSection?.invite) {
379
for (const [roomId, roomResponse] of Object.entries(roomsSection.invite)) {
380
let invite = this._session.invites.get(roomId);
381
let isNewInvite = false;
0 commit comments