diff --git a/src/stores/RoomViewStore.tsx b/src/stores/RoomViewStore.tsx index bfcbaf9029..a0f0fb8f68 100644 --- a/src/stores/RoomViewStore.tsx +++ b/src/stores/RoomViewStore.tsx @@ -285,7 +285,7 @@ class RoomViewStore extends Store { {_t("Please contact your homeserver administrator.")} ; } else if (err.httpStatus === 404) { - const invitingUserId = this.getInvitingUserId(this._state.roomId); + const invitingUserId = this.getInvitingUserId(this.state.roomId); // only provide a better error message for invites if (invitingUserId) { // if the inviting user is on the same HS, there can only be one cause: they left.