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

Fix return value

parent f091cd0a
Pipeline #4019 failed with stages
in 5 seconds
......@@ -225,7 +225,7 @@ class Bookmarks(BaseModule):
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