Fixes #510 Collection should not get an id.

This commit is contained in:
JC Brand 2015-10-31 17:26:15 +00:00
parent 89c7276d6d
commit c0863d3eb2
2 changed files with 1 additions and 1 deletions

View File

@ -2849,7 +2849,6 @@
model: new converse.ChatRoomOccupants({nick: this.model.get('nick')}) model: new converse.ChatRoomOccupants({nick: this.model.get('nick')})
}); });
var id = b64_sha1('converse.occupants'+converse.bare_jid+this.model.get('id')+this.model.get('nick')); var id = b64_sha1('converse.occupants'+converse.bare_jid+this.model.get('id')+this.model.get('nick'));
this.occupantsview.model.id = id; // Appears to be necessary for backbone.browserStorage
this.occupantsview.model.browserStorage = new Backbone.BrowserStorage[converse.storage](id); this.occupantsview.model.browserStorage = new Backbone.BrowserStorage[converse.storage](id);
this.occupantsview.chatroomview = this; this.occupantsview.chatroomview = this;

View File

@ -7,6 +7,7 @@ Changelog
* #493 Refactor previous bugfix and now an event is emitted when a roster push event from server happens. [teseo] * #493 Refactor previous bugfix and now an event is emitted when a roster push event from server happens. [teseo]
* #502. Chat room not opened in non_amd version. [rjanbiah] * #502. Chat room not opened in non_amd version. [rjanbiah]
* #505 Typo caused [object Object] in room info [gromiak] * #505 Typo caused [object Object] in room info [gromiak]
* #510 MUC room memberlist is being cleared with page reload when keepalive option is set. [jcbrand]
* Add the ability to also drag-resize chat boxes horizontally. [jcbrand] * Add the ability to also drag-resize chat boxes horizontally. [jcbrand]
0.9.6 (2015-10-12) 0.9.6 (2015-10-12)