diff sat/bridge/pb.py @ 2655:b8600f8130ac

core (bridge): new messageEncryptionStarted and messageEncryptionStopped signals (not used yet)
author Goffi <goffi@goffi.org>
date Sat, 11 Aug 2018 18:24:55 +0200
parents 779351da2c13
children 003b8b4b56a7
line wrap: on
line diff
--- a/sat/bridge/pb.py	Sat Aug 11 18:24:55 2018 +0200
+++ b/sat/bridge/pb.py	Sat Aug 11 18:24:55 2018 +0200
@@ -119,6 +119,12 @@
     def entityDataUpdated(self, jid, name, value, profile):
         self.sendSignal("entityDataUpdated", jid, name, value, profile)
 
+    def messageEncryptionStarted(self, to_jid, encryption_data, profile_key):
+        self.sendSignal("messageEncryptionStarted", to_jid, encryption_data, profile_key)
+
+    def messageEncryptionStopped(self, to_jid, encryption_data, profile_key):
+        self.sendSignal("messageEncryptionStopped", to_jid, encryption_data, profile_key)
+
     def messageNew(self, uid, timestamp, from_jid, to_jid, message, subject, mess_type, extra, profile):
         self.sendSignal("messageNew", uid, timestamp, from_jid, to_jid, message, subject, mess_type, extra, profile)