Skip to content
Snippets Groups Projects
Commit 9671c364 authored by Dicson's avatar Dicson
Browse files

url_image_preview.fix var name

parent 2e8993cf
No related branches found
No related tags found
No related merge requests found
[info]
name: Url image preview
short_name: url_image_preview
version: 0.3
version: 0.4
description: Url image preview in chatbox.
Based on patch in ticket #5300:
http://trac.gajim.org/attachment/ticket/5300.
......
......@@ -84,7 +84,7 @@ class Base(object):
mark = buffer_.create_mark(None, iter_, True)
# start downloading image
gajim.thread_interface(helpers.download_image, [
self.textview.account, {'src': url}], self._update_img, [mark])
self.textview.account, {'src': special_text}], self._update_img, [mark])
def _update_img(self, (mem, alt), mark):
if mem:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment