Mercurial > libervia-backend
comparison 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 |
comparison
equal
deleted
inserted
replaced
2654:e7bfbded652a | 2655:b8600f8130ac |
---|---|
117 self.sendSignal("disconnected", profile) | 117 self.sendSignal("disconnected", profile) |
118 | 118 |
119 def entityDataUpdated(self, jid, name, value, profile): | 119 def entityDataUpdated(self, jid, name, value, profile): |
120 self.sendSignal("entityDataUpdated", jid, name, value, profile) | 120 self.sendSignal("entityDataUpdated", jid, name, value, profile) |
121 | 121 |
122 def messageEncryptionStarted(self, to_jid, encryption_data, profile_key): | |
123 self.sendSignal("messageEncryptionStarted", to_jid, encryption_data, profile_key) | |
124 | |
125 def messageEncryptionStopped(self, to_jid, encryption_data, profile_key): | |
126 self.sendSignal("messageEncryptionStopped", to_jid, encryption_data, profile_key) | |
127 | |
122 def messageNew(self, uid, timestamp, from_jid, to_jid, message, subject, mess_type, extra, profile): | 128 def messageNew(self, uid, timestamp, from_jid, to_jid, message, subject, mess_type, extra, profile): |
123 self.sendSignal("messageNew", uid, timestamp, from_jid, to_jid, message, subject, mess_type, extra, profile) | 129 self.sendSignal("messageNew", uid, timestamp, from_jid, to_jid, message, subject, mess_type, extra, profile) |
124 | 130 |
125 def newContact(self, contact_jid, attributes, groups, profile): | 131 def newContact(self, contact_jid, attributes, groups, profile): |
126 self.sendSignal("newContact", contact_jid, attributes, groups, profile) | 132 self.sendSignal("newContact", contact_jid, attributes, groups, profile) |