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.
1 parent 3a34fdc commit b070162Copy full SHA for b070162
mautrix/appservice/api/intent.py
@@ -248,7 +248,9 @@ async def invite_user(
248
await self.state_store.joined(room_id, user_id)
249
except MatrixRequestError as e:
250
# TODO remove this once MSC3848 is released and minimum spec version is bumped
251
- if e.errcode == "M_FORBIDDEN" and "is already in the room" in e.message:
+ if e.errcode == "M_FORBIDDEN" and (
252
+ "already in the room" in e.message or "is already joined to room" in e.message
253
+ ):
254
255
else:
256
raise
0 commit comments