Daniel Brötzmann pushed to branch mainwindow at gajim / gajim


Commits:
2eb913a7 by wurstsalat at 2021-05-23T12:33:00+02:00
Open new chats with bare jid

- - - - -


1 changed file:

- gajim/gtk/main.py


Changes:

=====================================
gajim/gtk/main.py
=====================================
@@ -438,9 +438,8 @@ def _on_event(self, event):
                                           event.properties.jid,
                                           'pm')
                 else:
-                    self.add_chat(event.account,
-                                  event.properties.jid,
-                                  'contact')
+                    jid = event.properties.jid.new_as_bare()
+                    self.add_chat(event.account, jid, 'contact')
             else:
                 # No chat is open, dont handle any gui events
                 return



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

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