Commit 211ed18e authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Fix return value

parent f091cd0a
......@@ -225,7 +225,7 @@ def remove(self, jid: str, publish: bool = True) -> None:
def get_name_from_bookmark(self, jid: str) -> str:
bookmark = self.get_bookmark_from_jid(jid)
if bookmark is None:
return
return ''
return bookmark.name
def is_bookmark(self, jid: str) -> bool:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment