Implement reactions and image sync

This commit is contained in:
2026-02-17 21:23:03 +00:00
parent 6bc8a0ab88
commit dc28745fc3
14 changed files with 2011 additions and 202 deletions

View File

@@ -157,7 +157,7 @@ class PersonIdentifier(models.Model):
def __str__(self):
return f"{self.person} ({self.service})"
async def send(self, text, attachments=None):
async def send(self, text, attachments=None, metadata=None):
"""
Send this contact a text.
"""
@@ -166,6 +166,7 @@ class PersonIdentifier(models.Model):
self.identifier,
text=text,
attachments=attachments or [],
metadata=dict(metadata or {}),
)