Correctly remove bookmark after MUC was destroyed
This commit is contained in:
parent
6f61f05377
commit
4a2c23b893
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue