summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime “pep” Buquet <pep@bouah.net>2019-10-26 00:41:22 +0200
committerMaxime “pep” Buquet <pep@bouah.net>2019-10-26 00:41:22 +0200
commitea1ab71f0252d788c93315422cc04f5db28d7698 (patch)
tree8e159b0e3d653de791cef45383d7778246b2e212
parent86621d59fc0e8f99a108307858c2ae864c521fb4 (diff)
downloadpoezio-ea1ab71f0252d788c93315422cc04f5db28d7698.tar.gz
poezio-ea1ab71f0252d788c93315422cc04f5db28d7698.tar.bz2
poezio-ea1ab71f0252d788c93315422cc04f5db28d7698.tar.xz
poezio-ea1ab71f0252d788c93315422cc04f5db28d7698.zip
BookmarksTab: Remove safeJID call
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
-rw-r--r--poezio/tabs/bookmarkstab.py4
1 files changed, 3 insertions, 1 deletions
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)