From ea1ab71f0252d788c93315422cc04f5db28d7698 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Sat, 26 Oct 2019 00:41:22 +0200 Subject: BookmarksTab: Remove safeJID call MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- poezio/tabs/bookmarkstab.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/poezio/tabs/bookmarkstab.py b/poezio/tabs/bookmarkstab.py index 816402a7..cb3a4d0c 100644 --- a/poezio/tabs/bookmarkstab.py +++ b/poezio/tabs/bookmarkstab.py @@ -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) -- cgit v1.2.3