[polari/wip/raresv/userTracker] userTracker part 8, fixed part 7
- From: Rares Visalom <raresvisalom src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari/wip/raresv/userTracker] userTracker part 8, fixed part 7
- Date: Fri, 1 Jul 2016 12:07:30 +0000 (UTC)
commit a4d13d9f92b1276b32a03e2839741f737718bb05
Author: raresv <rares visalom gmail com>
Date: Fri Jul 1 15:07:19 2016 +0300
userTracker part 8, fixed part 7
src/userTracker.js | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/src/userTracker.js b/src/userTracker.js
index d8927cd..392e46b 100644
--- a/src/userTracker.js
+++ b/src/userTracker.js
@@ -38,7 +38,7 @@ const UserTracker = new Lang.Class({
this._room = room;
this._onRoomAdded(null, this._room);
- this._onChannelChanged();
+ this._onChannelChanged(this._room);
}
},
@@ -56,9 +56,6 @@ const UserTracker = new Lang.Class({
},
_onChannelChanged: function(emittingRoom) {
- if (!emittingRoom)
- return;
-
if (emittingRoom.channel) {
let members;
if (emittingRoom.type == Tp.HandleType.ROOM)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]