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


Commits:
6df5e261 by Philipp Hörist at 2023-03-27T20:42:16+02:00
ci: Silence some pyright errors

- - - - -


2 changed files:

- gajim/common/storage/omemo.py
- gajim/gtk/omemo_trust_manager.py


Changes:

=====================================
gajim/common/storage/omemo.py
=====================================
@@ -603,7 +603,7 @@ def getIdentityKeyPair(self) -> IdentityKeyPair:
         return IdentityKeyPair.new(result.public_key,
                                    DjbECPrivateKey(result.private_key))
 
-    def getLocalRegistrationId(self) -> Optional[int]:
+    def getLocalRegistrationId(self) -> Optional[int]:  # pyright: ignore
         query = 'SELECT device_id FROM secret LIMIT 1'
         result = self._con.execute(query).fetchone()
         return result.device_id if result is not None else None


=====================================
gajim/gtk/omemo_trust_manager.py
=====================================
@@ -153,7 +153,7 @@ def update(self) -> None:
     def _on_destroy(self, *args: Any) -> None:
         self.unregister_events()
         self._ui.list.set_filter_func(None)
-        self._ui.search.disconnect_by_func(self._on_search_changed)
+        self._ui.search.disconnect_by_func(self._on_search_changed)  # 
pyright: ignore
         app.check_finalize(self)
 
     def _on_account_state(self,



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

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/6df5e261801871c3f616e2070cf5593634fbdb14
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