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
This commit is contained in:
Alban Browaeys 2012-05-25 11:15:57 +02:00 committed by Jasper St. Pierre
parent 850fe98cbb
commit ba4b9f229e

View File

@ -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;