Correctly remove bookmark after MUC was destroyed

This commit is contained in:
Philipp Hörist 2019-02-11 20:32:41 +01:00
parent 6f61f05377
commit 4a2c23b893
1 changed files with 1 additions and 1 deletions

View File

@ -222,7 +222,7 @@ class Bookmarks(BaseModule):
bookmark = self.get_bookmark_from_jid(jid)
if bookmark is None:
return
self.bookmark.remove(bookmark)
self._bookmarks.remove(bookmark)
if publish:
self.store_bookmarks()