From 96673aaceec644328842608aa87c3e343d7fdf98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Qu=C3=A8ze?= Date: Tue, 27 Aug 2013 23:22:11 +0200 Subject: [PATCH] Bug 955567 - Account displayed connected and with an error at the same time, r=aleth. --- im/content/account.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/im/content/account.xml b/im/content/account.xml index 0633297741..e06331875b 100644 --- a/im/content/account.xml +++ b/im/content/account.xml @@ -213,9 +213,9 @@ this._connectedLabel = null; if (this._account.connected) this.refreshConnectedLabel(); - if (this._account.connectionErrorReason == Ci.prplIAccount.NO_ERROR) + else if (this._account.connecting) this.updateConnectionState(); - else + else if (this._account.connectionErrorReason != Ci.prplIAccount.NO_ERROR) this.updateConnectionError(); ]]>