Commit 40dd5cf7 authored by Philipp Hörist's avatar Philipp Hörist

Remove duplicate code

Same code exists in the ChatControlBase.add_message() method already
parent cf7b9f26
......@@ -56,7 +56,6 @@ from gajim.common import events
from gajim.common import app
from gajim.common import helpers
from gajim.common.helpers import open_uri
from gajim.common.helpers import AdditionalDataDict
from gajim.common import ged
from gajim.common.i18n import _
from gajim.common import contacts
......@@ -1287,8 +1286,7 @@ class GroupchatControl(ChatControlBase):
(contact = 'info' in such a case).
If contact is not set: it's a message from the server or help.
"""
if additional_data is None:
additional_data = AdditionalDataDict()
other_tags_for_name = []
other_tags_for_text = []
......
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