Philipp Hörist pushed to branch omemo_integration at gajim / gajim
Commits:
-
24c7ed1e
by Philipp Hörist at 2022-10-20T21:31:03+02:00
3 changed files:
Changes:
| ... | ... | @@ -502,7 +502,7 @@ def clear_devicelist(self) -> None: |
| 502 | 502 | |
| 503 | 503 | @as_task
|
| 504 | 504 | def request_devicelist(self, jid: Optional[str] = None):
|
| 505 | - _task = yield
|
|
| 505 | + _task = yield # noqa
|
|
| 506 | 506 | |
| 507 | 507 | if jid is None:
|
| 508 | 508 | jid = self._own_jid
|
| ... | ... | @@ -633,7 +633,8 @@ def storeLocalData(self, |
| 633 | 633 | self._con.commit()
|
| 634 | 634 | |
| 635 | 635 | def saveIdentity(self, recipientId: int, identityKey: IdentityKey) -> None:
|
| 636 | - query = '''INSERT INTO identities (recipient_id, public_key, trust, shown)
|
|
| 636 | + query = '''INSERT INTO identities
|
|
| 637 | + (recipient_id, public_key, trust, shown)
|
|
| 637 | 638 | VALUES(?, ?, ?, ?)'''
|
| 638 | 639 | if not self.containsIdentity(recipientId, identityKey):
|
| 639 | 640 | trust = self.getDefaultTrust(recipientId)
|
| ... | ... | @@ -133,4 +133,5 @@ |
| 133 | 133 | "gajim/plugins/plugins_i18n.py",
|
| 134 | 134 | "gajim/plugins/repository.py"
|
| 135 | 135 | ],
|
| 136 | + "ignore": ["gajim/common/storage/*"]
|
|
| 136 | 137 | } |