diff options
Diffstat (limited to 'plugins/mod_bookmarks.lua')
-rw-r--r-- | plugins/mod_bookmarks.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_bookmarks.lua b/plugins/mod_bookmarks.lua index 10c1abd1..fc37f09a 100644 --- a/plugins/mod_bookmarks.lua +++ b/plugins/mod_bookmarks.lua @@ -335,7 +335,7 @@ local function migrate_legacy_bookmarks(event) local jid = username.."@"..session.host; local ok, ret = service:get_items(namespace_legacy, session.full_jid); - if ok then + if ok and ret[1] then module:log("debug", "Legacy PEP bookmarks found for %s, migrating.", jid); local failed = false; for _, item_id in ipairs(ret) do |