Mercurial > libervia-backend
comparison libervia/backend/bridge/dbus_bridge.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 | 730f542e4ad0 |
comparison
equal
deleted
inserted
replaced
4147:11f95dfe5b17 | 4148:a8a0fa678ce2 |
---|---|
166 Signal('disconnected', 's'), | 166 Signal('disconnected', 's'), |
167 Signal('entity_data_updated', 'ssss'), | 167 Signal('entity_data_updated', 'ssss'), |
168 Signal('message_encryption_started', 'sss'), | 168 Signal('message_encryption_started', 'sss'), |
169 Signal('message_encryption_stopped', 'sa{ss}s'), | 169 Signal('message_encryption_stopped', 'sa{ss}s'), |
170 Signal('message_new', 'sdssa{ss}a{ss}sss'), | 170 Signal('message_new', 'sdssa{ss}a{ss}sss'), |
171 Signal('message_update', 'ssss'), | |
171 Signal('notification_deleted', 'ss'), | 172 Signal('notification_deleted', 'ss'), |
172 Signal('notification_new', 'sdssssbidss'), | 173 Signal('notification_new', 'sdssssbidss'), |
173 Signal('param_update', 'ssss'), | 174 Signal('param_update', 'ssss'), |
174 Signal('presence_update', 'ssia{ss}s'), | 175 Signal('presence_update', 'ssia{ss}s'), |
175 Signal('progress_error', 'sss'), | 176 Signal('progress_error', 'sss'), |
462 def message_encryption_stopped(self, to_jid, encryption_data, profile_key): | 463 def message_encryption_stopped(self, to_jid, encryption_data, profile_key): |
463 self._obj.emitSignal("message_encryption_stopped", to_jid, encryption_data, profile_key) | 464 self._obj.emitSignal("message_encryption_stopped", to_jid, encryption_data, profile_key) |
464 | 465 |
465 def message_new(self, uid, timestamp, from_jid, to_jid, message, subject, mess_type, extra, profile): | 466 def message_new(self, uid, timestamp, from_jid, to_jid, message, subject, mess_type, extra, profile): |
466 self._obj.emitSignal("message_new", uid, timestamp, from_jid, to_jid, message, subject, mess_type, extra, profile) | 467 self._obj.emitSignal("message_new", uid, timestamp, from_jid, to_jid, message, subject, mess_type, extra, profile) |
468 | |
469 def message_update(self, uid, message_type, message_data, profile): | |
470 self._obj.emitSignal("message_update", uid, message_type, message_data, profile) | |
467 | 471 |
468 def notification_deleted(self, id, profile): | 472 def notification_deleted(self, id, profile): |
469 self._obj.emitSignal("notification_deleted", id, profile) | 473 self._obj.emitSignal("notification_deleted", id, profile) |
470 | 474 |
471 def notification_new(self, id, timestamp, type, body_plain, body_rich, title, requires_action, priority, expire_at, extra, profile): | 475 def notification_new(self, id, timestamp, type, body_plain, body_rich, title, requires_action, priority, expire_at, extra, profile): |