Skip to content
Snippets Groups Projects
Commit 4a6328d7 authored by Tulir Asokan's avatar Tulir Asokan :cat2:
Browse files

Make sure custom puppet actually has access token (ref #70)

parent 243e9c80
No related branches found
No related tags found
No related merge requests found
......@@ -308,7 +308,7 @@ class Portal(DBPortal, BasePortal):
) -> None:
await self.main_intent.invite_user(self.mxid, source.mxid, check_cache=False)
puppet = await p.Puppet.get_by_custom_mxid(source.mxid)
if puppet:
if puppet and puppet.is_real_user:
await puppet.intent.ensure_joined(self.mxid)
await self.update_info(source, info)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment