Commit ace1ca57 authored by Tijmen de Mes's avatar Tijmen de Mes

Moved print to log messages

parent ba83b566
...@@ -625,7 +625,7 @@ class MessageManager(object, metaclass=Singleton): ...@@ -625,7 +625,7 @@ class MessageManager(object, metaclass=Singleton):
@run_in_thread('file-io') @run_in_thread('file-io')
def _save_pgp_key(self, data, uri): def _save_pgp_key(self, data, uri):
print(f'-- Saving public key for {uri}') log.info(f'-- Saving public key for {uri}')
settings = SIPSimpleSettings() settings = SIPSimpleSettings()
id = str(uri).replace('/', '_').replace('sip:', '') id = str(uri).replace('/', '_').replace('sip:', '')
...@@ -679,7 +679,7 @@ class MessageManager(object, metaclass=Singleton): ...@@ -679,7 +679,7 @@ class MessageManager(object, metaclass=Singleton):
notification_center.post_notification('BlinkMessageIsParsed', sender=session, data=message) notification_center.post_notification('BlinkMessageIsParsed', sender=session, data=message)
if message is not None and message.direction != 'outgoing' and 'positive-delivery' in message.disposition: if message is not None and message.direction != 'outgoing' and 'positive-delivery' in message.disposition:
print("-- Should send delivered imdn") log.debug("-- Should send delivered imdn for incoming message")
self.send_imdn_message(session, message.id, message.timestamp, 'delivered') self.send_imdn_message(session, message.id, message.timestamp, 'delivered')
self._add_contact_to_messages_group(session.account, session.contact) self._add_contact_to_messages_group(session.account, session.contact)
......
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