Daniel Brötzmann pushed to branch chat-control-contact-object at gajim / gajim


Commits:
c26c52f4 by wurstsalat at 2025-08-03T14:07:52+02:00
cq: Chat control: Remove obsolete method

- - - - -


1 changed file:

- gajim/gtk/control.py


Changes:

=====================================
gajim/gtk/control.py
=====================================
@@ -488,16 +488,6 @@ def _on_jump_to_message(
     def _on_jump_to_end(self, _button: Gtk.Button) -> None:
         self.reset_view()
 
-    def _get_our_nick(self) -> str:
-        if isinstance(self.contact, GroupchatParticipant):
-            muc_data = self.client.get_module("MUC").get_muc_data(
-                self.contact.jid.new_as_bare()
-            )
-            if muc_data is not None:
-                return muc_data.nick
-
-        return app.nicks[self.contact.account]
-
     def _allow_add_message(self) -> bool:
         return self._scrolled_view.get_lower_complete()
 



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

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/c26c52f46ba1174be3c970877f56b756b18cd1e0
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to