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


Commits:
4a68ce96 by Philipp Hörist at 2023-05-09T21:22:17+02:00
cfix: Fix own JID comparison

- - - - -


1 changed file:

- gajim/common/client.py


Changes:

=====================================
gajim/common/client.py
=====================================
@@ -331,8 +331,8 @@ def _on_stanza_received(self,
                                            stanza=stanza))
 
     def is_own_jid(self, jid: JID | str) -> bool:
-        jid = self.get_own_jid()
-        return jid.bare_match(jid)
+        own_jid = self.get_own_jid()
+        return own_jid.bare_match(jid)
 
     def get_own_jid(self) -> JID:
         '''



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

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