Commit e0902e8c authored by Dicson's avatar Dicson

UrlShortenerPlugin. Fix deactivation

parent f65f9d3b
[info]
name: Url Shortener
short_name: url_shortener
version: 0.3.3
version: 0.3.4
description: Plugin that allows users to shorten a long URL in messages.
For example, you can turn this link:
https://trac.gajim.org/timeline
......
......@@ -110,6 +110,8 @@ class Base(object):
self.chat_control.handlers[self.id_] = self.textview.tv
def print_special_text(self, special_text, other_tags, graphics=True):
if not self.plugin.active:
return
is_xhtml_link = None
text_is_valid_uri = False
buffer_ = self.textview.tv.get_buffer()
......
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