From 265702b1501d2c279a887ed3c90c0ba0ad7d95c2 Mon Sep 17 00:00:00 2001 From: mathieui Date: Sun, 15 Apr 2012 23:55:50 +0200 Subject: Add a way to bookmark all the rooms at once (/bookmark * or /bookmark_local *) --- src/bookmark.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bookmark.py') 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' -- cgit v1.2.3