From 026ca301b5c6fcddc5e23946850e458dedeafed9 Mon Sep 17 00:00:00 2001 From: Denis Fomin Date: Thu, 23 Aug 2012 10:49:56 +0400 Subject: RosterTweaksPlugin. correctly disabling plugin --- roster_tweaks/roster_tweaks.py | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'roster_tweaks') diff --git a/roster_tweaks/roster_tweaks.py b/roster_tweaks/roster_tweaks.py index 5746947..bf83d6f 100644 --- a/roster_tweaks/roster_tweaks.py +++ b/roster_tweaks/roster_tweaks.py @@ -37,6 +37,7 @@ class RosterTweaksPlugin(GajimPlugin): self.roster = gajim.interface.roster def roster_draw_contact(self, roster,jid, account, contact): + self.connected = True if not self.active: return if not self.config['contact_status_subs']: @@ -46,12 +47,13 @@ class RosterTweaksPlugin(GajimPlugin): if not child_iters: return name = roster.model[child_iters[0]][1] - if '\n