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


Commits:
bf404d73 by Philipp Hörist at 2023-03-27T20:21:37+02:00
fix: Fix devicelist

- - - - -


1 changed file:

- gajim/common/modules/omemo.py


Changes:

=====================================
gajim/common/modules/omemo.py
=====================================
@@ -566,7 +566,7 @@ def request_bundle(self, jid: str, device_id: int):
             message=EncryptionInfoMsg.UNDECIDED_FINGERPRINTS))
 
     def set_devicelist(self, devicelist: Optional[list[int]] = None) -> None:
-        devicelist_: set[int] = set(self.backend.own_device)
+        devicelist_: set[int] = set([self.backend.own_device])
         if devicelist is not None:
             devicelist_.update(devicelist)
         self._log.info('Publishing own devicelist: %s', devicelist_)



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

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