Commit ea1ab71f authored by Maxime Buquet's avatar Maxime Buquet

BookmarksTab: Remove safeJID call

Signed-off-by: Maxime Buquet's avatarMaxime “pep” Buquet <pep@bouah.net>
parent 86621d59
Pipeline #2557 passed with stages
in 3 minutes and 50 seconds
......@@ -11,6 +11,8 @@ from poezio.core.structs import Command
from poezio.tabs import Tab
from poezio.common import safeJID
from slixmpp import JID
log = logging.getLogger(__name__)
......@@ -50,7 +52,7 @@ class BookmarksTab(Tab):
def add_bookmark(self):
new_bookmark = Bookmark(
safeJID('room@example.tld/nick'), method='local')
JID('room@example.tld/nick'), method='local')
self.new_bookmarks.append(new_bookmark)
self.bookmarks_win.add_bookmark(new_bookmark)
......
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