[omemo] Change log levels
This commit is contained in:
@@ -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,7 +132,7 @@ 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()
|
||||||
@@ -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,7 +601,7 @@ 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,
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user