Replace lots of .events.rooms[room_id] with .room

This commit is contained in:
Kegan Dougal 2014-10-31 17:13:27 +00:00
parent b0f0b7b75e
commit f21960ec9d
4 changed files with 22 additions and 16 deletions

View file

@ -77,7 +77,7 @@ angular.module('modelService', [])
/***** Room State Object *****/
var RoomState = function RoomState() {
// list of RoomMember
this.members = [];
this.members = {};
// state events, the key is a compound of event type + state_key
this.state_events = {};
this.pagination_token = "";