[polari/wip/fmuellner/combined-gsoc: 133/136] userTracker: Remove unneeded call to ensureRoomMapping()
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari/wip/fmuellner/combined-gsoc: 133/136] userTracker: Remove unneeded call to ensureRoomMapping()
- Date: Tue, 26 Jul 2016 23:27:09 +0000 (UTC)
commit 9b860ab5becf16cfb54e3ee778c49a5c6f3ab9aa
Author: Florian Müllner <fmuellner gnome org>
Date: Wed Jul 27 00:03:37 2016 +0200
userTracker: Remove unneeded call to ensureRoomMapping()
_onChannelChanged() is only run when we connected to the 'notify::channel'
signal - we store the handler ID in the roomData, so the data must exist
when the handler is connected.
src/userTracker.js | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/userTracker.js b/src/userTracker.js
index 2901a13..96306ec 100644
--- a/src/userTracker.js
+++ b/src/userTracker.js
@@ -143,8 +143,6 @@ const UserTracker = new Lang.Class({
else
members = [room.channel.connection.self_contact, room.channel.target_contact];
- this._ensureRoomMappingForRoom(room);
-
/*keep track of initial members in the room, both locally and
globally*/
members.forEach(m => { this._trackMember(m, room); });
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]