summaryrefslogtreecommitdiff
path: root/src/bookmark.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2012-04-15 23:55:50 +0200
committermathieui <mathieui@mathieui.net>2012-04-15 23:55:50 +0200
commit265702b1501d2c279a887ed3c90c0ba0ad7d95c2 (patch)
tree49c2a87dac8c03a20eb791bfc6d13923e09265ee /src/bookmark.py
parent941acdb612061190fec341a78d5741c4ee0374e2 (diff)
downloadpoezio-265702b1501d2c279a887ed3c90c0ba0ad7d95c2.tar.gz
poezio-265702b1501d2c279a887ed3c90c0ba0ad7d95c2.tar.bz2
poezio-265702b1501d2c279a887ed3c90c0ba0ad7d95c2.tar.xz
poezio-265702b1501d2c279a887ed3c90c0ba0ad7d95c2.zip
Add a way to bookmark all the rooms at once
(/bookmark * or /bookmark_local *)
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 38979697..95f42dd8 100644
--- a/src/bookmark.py
+++ b/src/bookmark.py
@@ -124,7 +124,7 @@ def save_privatexml(xmpp):
""""Save the remote bookmarks with privatexml."""
xmpp.plugin['xep_0048'].set_bookmarks_old(stanza_storage('privatexml'))
-def save_remote(xmpp, method="privatexml"):
+def save_remote(xmpp, method=preferred):
"""Save the remote bookmarks."""
method = "privatexml" if method != 'pep' else 'pep'