diff --git a/mautrix_telegram/commands/telegram/misc.py b/mautrix_telegram/commands/telegram/misc.py index 5b1a70ca..2bff167c 100644 --- a/mautrix_telegram/commands/telegram/misc.py +++ b/mautrix_telegram/commands/telegram/misc.py @@ -208,6 +208,9 @@ async def join(evt: CommandEvent) -> EventID | None: link_type = data["type"] if link_type: link_type = link_type.lower() + elif identifier.startswith("+"): + link_type = "joinchat" + identifier = identifier[1:] updates, _ = await _join(evt, identifier, link_type) if not updates: return None