[gnome-shell] telepathyClient: fix isChat
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] telepathyClient: fix isChat
- Date: Fri, 25 May 2012 17:15:07 +0000 (UTC)
commit ba4b9f229e52df5ad193dd242a0268888be88d60
Author: Alban Browaeys <prahal yahoo com>
Date: Fri May 25 11:15:57 2012 +0200
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 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/telepathyClient.js b/js/ui/telepathyClient.js
index c38b3f7..f54e4c0 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]