fix: Ignore no permission errors on requesting users
In theory even in invite or left rooms it can be possible to request a room state regarding the spec. In most cases it will throw an error though.
This commit is contained in:
parent
c5a6cc9a52
commit
4e657f8e09
|
|
@ -1451,6 +1451,8 @@ class Room {
|
||||||
EventTypes.RoomMember,
|
EventTypes.RoomMember,
|
||||||
mxID,
|
mxID,
|
||||||
);
|
);
|
||||||
|
} on MatrixException catch (_) {
|
||||||
|
// Ignore if we have no permission
|
||||||
} catch (e, s) {
|
} catch (e, s) {
|
||||||
if (!ignoreErrors) {
|
if (!ignoreErrors) {
|
||||||
_requestingMatrixIds.remove(mxID);
|
_requestingMatrixIds.remove(mxID);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue