changeset da28f1663cf5 in /home/hg/repos/gajim-plugins
author: Bahtiar `kalkin-` Gadimov <[email protected]>
branches:
details:gajim-plugins?cmd=changeset;node=da28f1663cf5
description: Minor logging fixes
diffstat:
omemo/__init__.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (24 lines):
diff -r c9713578565f -r da28f1663cf5 omemo/__init__.py
--- a/omemo/__init__.py Thu Jan 07 21:08:02 2016 +0100
+++ b/omemo/__init__.py Thu Jan 07 21:03:06 2016 +0100
@@ -171,10 +171,8 @@
state = self.get_omemo_state(account)
my_jid = gajim.get_jid_from_account(account)
- log.debug(account + ' ⇒ Received OMEMO pep for jid ' + contact_jid)
-
if contact_jid == my_jid:
- log.debug(state.name + ' ⇒ Received own device_list ' + str(
+ log.debug(state.name + ' ⇒ Received own device_list:' + str(
devices_list))
state.add_own_devices(devices_list)
@@ -187,6 +185,8 @@
devices_list.append(state.own_device_id)
self.publish_own_devices_list(state)
else:
+ log.debug(account + ' ⇒ Received device_list for ' + contact_jid +
+ ':' + devices_list)
state.add_devices(contact_jid, devices_list)
if account in self.ui_list and contact_jid in self.ui_list[
account]:
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits