Fix url_image_preview for gtk3

This commit is contained in:
Linus Heckemann
2016-10-10 14:28:41 +01:00
parent 33369162bb
commit 6e25bfa15c
2 changed files with 3 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
[info]
name: Url image preview
short_name: url_image_preview
version: 0.5.3
version: 0.5.4
description: Url image preview in chatbox.
authors = Denis Fomin <fominde@gmail.com>
Yann Leboulanger <asterix@lagaule.org>

View File

@@ -45,7 +45,8 @@ class UrlImagePreviewPlugin(GajimPlugin):
control.disconnect_from_chat_control()
self.controls = []
def print_special_text(self, tv, special_text, other_tags, graphics=True):
def print_special_text(self, tv, special_text, other_tags, graphics=True,
additional_data):
for control in self.controls:
if control.chat_control.conv_textview != tv:
continue