Browse Source

Fixes #510 Collection should not get an id.

JC Brand 9 years ago
parent
commit
c0863d3eb2
2 changed files with 1 additions and 1 deletions
  1. 0 1
      converse.js
  2. 1 0
      docs/CHANGES.rst

+ 0 - 1
converse.js

@@ -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;

+ 1 - 0
docs/CHANGES.rst

@@ -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)