Commit 6e42eae5 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

[omemo] Change log levels

parent b2be4c91
...@@ -118,7 +118,7 @@ class OMEMOConnection: ...@@ -118,7 +118,7 @@ class OMEMOConnection:
""" """
if event.conn.name != self.account: if event.conn.name != self.account:
return return
log.debug('%s => Announce Support after Sign In', self.account) log.info('%s => Announce Support after Sign In', self.account)
self.query_for_bundles = [] self.query_for_bundles = []
self.publish_bundle() self.publish_bundle()
self.query_devicelist() self.query_devicelist()
...@@ -132,8 +132,8 @@ class OMEMOConnection: ...@@ -132,8 +132,8 @@ class OMEMOConnection:
app.gajim_optional_features[self.account].append(NS_NOTIFY) app.gajim_optional_features[self.account].append(NS_NOTIFY)
self._compute_caps_hash() self._compute_caps_hash()
if app.account_is_connected(self.account): if app.account_is_connected(self.account):
log.debug('%s => Announce Support after Plugin Activation', log.info('%s => Announce Support after Plugin Activation',
self.account) self.account)
self.query_for_bundles = [] self.query_for_bundles = []
self.publish_bundle() self.publish_bundle()
self.query_devicelist() self.query_devicelist()
...@@ -355,7 +355,7 @@ class OMEMOConnection: ...@@ -355,7 +355,7 @@ class OMEMOConnection:
if room not in self.groupchat: if room not in self.groupchat:
self.groupchat[room] = self.temp_groupchat[room] self.groupchat[room] = self.temp_groupchat[room]
log.debug('OMEMO capable Room found: %s', room) log.info('OMEMO capable Room found: %s', room)
self.get_con().get_affiliation_list(room, 'owner') self.get_con().get_affiliation_list(room, 'owner')
self.get_con().get_affiliation_list(room, 'admin') self.get_con().get_affiliation_list(room, 'admin')
...@@ -601,8 +601,8 @@ class OMEMOConnection: ...@@ -601,8 +601,8 @@ class OMEMOConnection:
devices_list = list(set(devices_list)) devices_list = list(set(devices_list))
self.omemo.set_own_devices(devices_list) self.omemo.set_own_devices(devices_list)
log.debug('%s => Publishing own Devices: %s', log.info('%s => Publishing own Devices: %s',
self.account, devices_list) self.account, devices_list)
device_announce = DeviceListAnnouncement(devices_list) device_announce = DeviceListAnnouncement(devices_list)
self.send_with_callback(device_announce, self.send_with_callback(device_announce,
self.device_list_publish_result) self.device_list_publish_result)
......
...@@ -313,7 +313,7 @@ def unpack_device_list_update(stanza, account): ...@@ -313,7 +313,7 @@ def unpack_device_list_update(stanza, account):
items = event_node.getTag('items', {'node': NS_DEVICE_LIST}) items = event_node.getTag('items', {'node': NS_DEVICE_LIST})
if not items or len(items.getChildren()) != 1: if not items or len(items.getChildren()) != 1:
log.debug( log.warning(
account + account +
' => Device list update items node empty or not omemo device update') ' => Device list update items node empty or not omemo device update')
return result return result
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment