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
2 changed files:
Changes:
| ... | ... | @@ -603,7 +603,7 @@ def getIdentityKeyPair(self) -> IdentityKeyPair: |
| 603 | 603 | return IdentityKeyPair.new(result.public_key,
|
| 604 | 604 | DjbECPrivateKey(result.private_key))
|
| 605 | 605 | |
| 606 | - def getLocalRegistrationId(self) -> Optional[int]:
|
|
| 606 | + def getLocalRegistrationId(self) -> Optional[int]: # pyright: ignore
|
|
| 607 | 607 | query = 'SELECT device_id FROM secret LIMIT 1'
|
| 608 | 608 | result = self._con.execute(query).fetchone()
|
| 609 | 609 | return result.device_id if result is not None else None
|
| ... | ... | @@ -153,7 +153,7 @@ def update(self) -> None: |
| 153 | 153 | def _on_destroy(self, *args: Any) -> None:
|
| 154 | 154 | self.unregister_events()
|
| 155 | 155 | self._ui.list.set_filter_func(None)
|
| 156 | - self._ui.search.disconnect_by_func(self._on_search_changed)
|
|
| 156 | + self._ui.search.disconnect_by_func(self._on_search_changed) # pyright: ignore
|
|
| 157 | 157 | app.check_finalize(self)
|
| 158 | 158 | |
| 159 | 159 | def _on_account_state(self,
|