Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
poezio
poezio
Commits
ea1ab71f
Verified
Commit
ea1ab71f
authored
Oct 26, 2019
by
Maxime Buquet
Browse files
BookmarksTab: Remove safeJID call
Signed-off-by:
Maxime “pep” Buquet
<
pep@bouah.net
>
parent
86621d59
Changes
1
Hide whitespace changes
Inline
Side-by-side
poezio/tabs/bookmarkstab.py
View file @
ea1ab71f
...
...
@@ -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
(
safe
JID
(
'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
)
...
...
Maxime Buquet
@ppjet
mentioned in issue
#3511 (closed)
·
Oct 25, 2019
mentioned in issue
#3511 (closed)
mentioned in issue #3511
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment