From ba4b9f229e52df5ad193dd242a0268888be88d60 Mon Sep 17 00:00:00 2001 From: Alban Browaeys Date: Fri, 25 May 2012 11:15:57 +0200 Subject: [PATCH] telepathyClient: fix isChat As part of commit 9e1a2cf the parent _init was moved before the isChat was set to true. As the parent set it to false isChat is never true since this commit. https://bugzilla.gnome.org/show_bug.cgi?id=676806 --- js/ui/telepathyClient.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/ui/telepathyClient.js b/js/ui/telepathyClient.js index c38b3f79d..f54e4c000 100644 --- a/js/ui/telepathyClient.js +++ b/js/ui/telepathyClient.js @@ -420,14 +420,13 @@ const ChatSource = new Lang.Class({ Extends: MessageTray.Source, _init: function(account, conn, channel, contact, client) { - this.isChat = true; - this._account = account; this._contact = contact; this._client = client; this.parent(contact.get_alias()); + this.isChat = true; this._pendingMessages = []; this._conn = conn;