Implement reactions and image sync
This commit is contained in:
@@ -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 {}),
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user