[omemo] Fix get_devices()
It did not discard our own device when without_self was True
This commit is contained in:
1 parent
37512bb706
commit
0ee9b2fa78
1 file changed
+1
-1
@@ -78,7 +78,7 @@ class DeviceManager:
|
||||
def get_devices(self, jid, without_self=False):
|
||||
devices = set(self.__device_store[jid])
|
||||
if without_self:
|
||||
devices.discard(self._own_jid)
|
||||
devices.discard(self.own_device)
|
||||
return devices
|
||||
|
||||
def get_devices_for_encryption(self, jid):
|
||||
|
||||
Reference in new issue
Block a user