Mercurial > prosody-modules
comparison mod_bookmarks2/mod_bookmarks2.lua @ 4640:d835cb7d2b47
mod_bookmarks2: Update namespace to :1
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Fri, 30 Jul 2021 21:17:09 +0200 |
parents | 3da7cd77aca9 |
children | 05725276fac0 |
comparison
equal
deleted
inserted
replaced
4639:3da7cd77aca9 | 4640:d835cb7d2b47 |
---|---|
7 local jid_split = require "util.jid".split; | 7 local jid_split = require "util.jid".split; |
8 | 8 |
9 local mod_pep = module:depends "pep"; | 9 local mod_pep = module:depends "pep"; |
10 local private_storage = module:open_store("private", "map"); | 10 local private_storage = module:open_store("private", "map"); |
11 | 11 |
12 local namespace = "urn:xmpp:bookmarks:0"; | 12 local namespace = "urn:xmpp:bookmarks:1"; |
13 | 13 |
14 local default_options = { | 14 local default_options = { |
15 ["persist_items"] = true; | 15 ["persist_items"] = true; |
16 -- This should be much higher, the XEP recommends 10000 but mod_pep rejects that. | 16 -- This should be much higher, the XEP recommends 10000 but mod_pep rejects that. |
17 ["max_items"] = 255; | 17 ["max_items"] = 255; |