diff libervia/backend/bridge/pb.py @ 4148:a8a0fa678ce2

bridge: add `message_update` signal
author Goffi <goffi@goffi.org>
date Wed, 22 Nov 2023 14:26:13 +0100
parents 02f0adc745c6
children 0d7bb4df2343
line wrap: on
line diff
--- a/libervia/backend/bridge/pb.py	Fri Nov 03 15:33:04 2023 +0100
+++ b/libervia/backend/bridge/pb.py	Wed Nov 22 14:26:13 2023 +0100
@@ -193,6 +193,9 @@
     def message_new(self, uid, timestamp, from_jid, to_jid, message, subject, mess_type, extra, profile):
         self.send_signal("message_new", uid, timestamp, from_jid, to_jid, message, subject, mess_type, extra, profile)
 
+    def message_update(self, uid, message_type, message_data, profile):
+        self.send_signal("message_update", uid, message_type, message_data, profile)
+
     def notification_deleted(self, id, profile):
         self.send_signal("notification_deleted", id, profile)