Commit c3461a43 authored by Philipp Hörist's avatar Philipp Hörist

Remove unused argument

parent 54437a0f
Pipeline #3563 canceled with stages
......@@ -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,
......
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment