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


Commits:
c3461a43 by Philipp Hörist at 2019-06-10T12:38:03Z
Remove unused argument

- - - - -


2 changed files:

- gajim/chat_control_base.py
- gajim/conversation_textview.py


Changes:

=====================================
gajim/chat_control_base.py
=====================================
@@ -923,14 +923,12 @@ class ChatControlBase(MessageControl, 
ChatCommandProcessor, CommandTools):
             self.received_history_pos = pos
 
     def add_info_message(self, text):
-        jid = self.contact.jid
         self.conv_textview.print_conversation_line(
-            text, jid, 'info', '', None, graphics=False)
+            text, 'info', '', None, graphics=False)
 
     def add_status_message(self, text):
-        jid = self.contact.jid
         self.conv_textview.print_conversation_line(
-            text, jid, 'status', '', None)
+            text, 'status', '', None)
 
     def add_message(self, text, kind, name, tim,
     other_tags_for_name=None, other_tags_for_time=None, 
other_tags_for_text=None,
@@ -958,7 +956,7 @@ class ChatControlBase(MessageControl, ChatCommandProcessor, 
CommandTools):
         if additional_data is None:
             additional_data = AdditionalDataDict()
 
-        textview.print_conversation_line(text, jid, kind, name, tim,
+        textview.print_conversation_line(text, kind, name, tim,
             other_tags_for_name, other_tags_for_time, other_tags_for_text,
             subject, old_kind, xhtml, simple=simple, graphics=graphics,
             displaymarking=displaymarking, msg_stanza_id=msg_stanza_id,


=====================================
gajim/conversation_textview.py
=====================================
@@ -936,7 +936,7 @@ class ConversationTextview(GObject.GObject):
         # Should not happen, but who knows
         return None, None
 
-    def print_conversation_line(self, text, jid, kind, name, tim,
+    def print_conversation_line(self, text, kind, name, tim,
     other_tags_for_name=None, other_tags_for_time=None, 
other_tags_for_text=None,
     subject=None, old_kind=None, xhtml=None, simple=False, graphics=True,
     displaymarking=None, msg_stanza_id=None, correct_id=None, 
additional_data=None,



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

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