Fix API change for print_special_text (added additional_data={})

This commit is contained in:
tmolitor
2016-10-12 02:55:32 +02:00
parent 92790088e9
commit cd50df05cf
3 changed files with 7 additions and 5 deletions

View File

@@ -53,7 +53,7 @@ class UrlImagePreviewPlugin(GajimPlugin):
control.print_special_text(special_text, other_tags, graphics=True)
def print_special_text1(self, chat_control, special_text, other_tags=None,
graphics=True):
graphics=True, additional_data={}):
for control in self.controls:
if control.chat_control == chat_control:
control.disconnect_from_chat_control()