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


Commits:
5125e2c0 by wurstsalat at 2022-08-27T14:06:16+02:00
chore: Control: Remove obsolete code

- - - - -


1 changed file:

- gajim/gtk/control.py


Changes:

=====================================
gajim/gtk/control.py
=====================================
@@ -779,15 +779,6 @@ def _on_user_status_show_changed(self,
                                                                status=status)
         self.add_info_message(message)
 
-    def invite(self, invited_jid: JID) -> None:
-        # TODO: Remove, used by command system
-        self.client.get_module('MUC').invite(
-            self.contact.jid, invited_jid)
-        invited_contact = self.client.get_module('Contacts').get_contact(
-            invited_jid)
-        self.add_info_message(
-            _('%s has been invited to this group chat') % invited_contact.name)
-
     def _on_room_voice_request(self,
                                _contact: GroupchatContact,
                                _signal_name: str,



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

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


_______________________________________________
Commits mailing list
Commits@gajim.org
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to