From 515ad847fa48e46f3dd75f8b5bef2919532c18bd Mon Sep 17 00:00:00 2001 From: quadrismegistus Date: Tue, 15 Sep 2020 12:42:57 +0100 Subject: [PATCH] updates --- komrade/backend/komrades.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/komrade/backend/komrades.py b/komrade/backend/komrades.py index 2afd302..b3ffebc 100644 --- a/komrade/backend/komrades.py +++ b/komrade/backend/komrades.py @@ -394,7 +394,7 @@ class KomradeX(Caller): inbox_ids.remove(post_id) self.save_inbox(inbox_ids) - def inbox(self,topn=100,only_unread=False,delete_malformed=True): + def inbox(self,topn=100,only_unread=False,delete_malformed=False): # refreshing inbox res = self.refresh() if not res['success']: return res @@ -407,11 +407,11 @@ class KomradeX(Caller): try: msg = self.read_msg(post_id) except ThemisError as e: - self.log(f'!! Could not decrypt post {post_id}') + print(f'!! Could not decrypt post {post_id}') malformed = True if not msg.from_name or not msg.from_pubkey: - self.log('!! Invalid sender info!') + print('!! Invalid sender info!') malformed = True if not malformed: