Browse Source

Reset bookmarks when logging out

JC Brand 8 years ago
parent
commit
857c5ccdb3
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/converse-bookmarks.js

+ 1 - 0
src/converse-bookmarks.js

@@ -48,6 +48,7 @@
             clearSession: function () {
                 this.__super__.clearSession.apply(this, arguments);
                 if (!_.isUndefined(this.bookmarks)) {
+                    this.bookmarks.reset();
                     this.bookmarks.browserStorage._clear();
                 }
             },