Philipp Hörist pushed to branch omemo_integration at gajim / gajim


Commits:
cc876681 by Philipp Hörist at 2022-10-20T22:27:10+02:00
cq: Fix linter errors

- - - - -


2 changed files:

- gajim/common/modules/omemo.py
- gajim/common/storage/omemo.py


Changes:

=====================================
gajim/common/modules/omemo.py
=====================================
@@ -558,6 +558,6 @@ def _process_devicelist_update(self,
         self._check_for_missing_sessions(jid)
 
     def _debug_print_stanza(self, stanza: Any) -> None:
-        stanzastr = '\n' + stanza.__str__(fancy=True)  # pylint: ignore
+        stanzastr = '\n' + stanza.__str__(fancy=True)  # pylint: 
disable=unnecessary-dunder-call # noqa
         stanzastr = stanzastr[0:-1]
         self._log.debug(stanzastr)


=====================================
gajim/common/storage/omemo.py
=====================================
@@ -799,3 +799,7 @@ def getUnacknowledgedCount(self, recipient_id: str, 
device_id: int) -> int:
             return 0
         state = record.getSessionState()
         return state.getSenderChainKey().getIndex()
+
+    def getSubDeviceSessions(self) -> None:
+        # Not used
+        return None



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/cc8766812ab41113651005a348767fea40c06705

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/cc8766812ab41113651005a348767fea40c06705
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to