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

Update fbchat

parent 392073c7
No related branches found
No related tags found
No related merge requests found
......@@ -364,7 +364,8 @@ class User(BaseUser):
if contact and ic:
contact.edit(in_community=True)
elif not contact:
DBContact(user=self.fbid, contact=puppet.fbid, in_community=ic).insert()
# This uses upsert instead of insert as a hacky fix for potential conflicts
DBContact(user=self.fbid, contact=puppet.fbid, in_community=ic).upsert()
async def sync_contacts(self):
try:
......
......@@ -5,4 +5,4 @@ ruamel.yaml>=0.15.94,<0.17
commonmark>=0.8,<0.10
python-magic>=0.4,<0.5
mautrix==0.7.0rc4
fbchat-asyncio>=0.6.13,<0.7
fbchat-asyncio>=0.6.15,<0.7
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