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


Commits:
bbd99aaf by wurstsalat at 2021-07-20T20:10:32+02:00
Groupchat Invitation: Add info message correctly

- - - - -


1 changed file:

- gajim/gtk/controls/groupchat.py


Changes:

=====================================
gajim/gtk/controls/groupchat.py
=====================================
@@ -460,11 +460,9 @@ def _on_invite_clicked(self, _button):
         self._show_page('groupchat')
 
     def invite(self, contact_jid):
-        message_id = self._client.get_module('MUC').invite(
-            self.room_jid, contact_jid)
+        self._client.get_module('MUC').invite(self.room_jid, contact_jid)
         self.add_info_message(
-            _('%s has been invited to this group chat') % contact_jid,
-            message_id=message_id)
+            _('%s has been invited to this group chat') % contact_jid)
 
     def _on_destroy_room(self, _action, _param):
         self.xml.destroy_reason_entry.grab_focus()



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

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