summaryrefslogtreecommitdiff
path: root/src/bookmark.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2013-06-08 12:28:07 +0200
committermathieui <mathieui@mathieui.net>2013-06-08 12:28:07 +0200
commit545e67c500595c3bb72ed18791717781e4b1581e (patch)
treef7a7a60b05b8c39010dddf9eb75a1c4c723eb9a1 /src/bookmark.py
parent463ec5ca0d904f62afac9ef5c6c146d9490103c5 (diff)
downloadpoezio-545e67c500595c3bb72ed18791717781e4b1581e.tar.gz
poezio-545e67c500595c3bb72ed18791717781e4b1581e.tar.bz2
poezio-545e67c500595c3bb72ed18791717781e4b1581e.tar.xz
poezio-545e67c500595c3bb72ed18791717781e4b1581e.zip
Fix setting autojoin with /bookmark
Diffstat (limited to 'src/bookmark.py')
-rw-r--r--src/bookmark.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bookmark.py b/src/bookmark.py
index f950154d..95d20734 100644
--- a/src/bookmark.py
+++ b/src/bookmark.py
@@ -44,7 +44,7 @@ class Bookmark(object):
self._method = value
def __repr__(self):
- return '<%s>' % self.jid
+ return '<%s%s%s>' % (self.jid, ('/'+self.nick) if self.nick else '', '|autojoin' if self.autojoin else '')
def stanza(self):
"""