aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-06-29 20:21:17 +0100
committerMatthew Wild <mwild1@gmail.com>2010-06-29 20:21:17 +0100
commit6f7d557c4a9cc4bbebb309412487212479e5efef (patch)
tree221076bd9d44de37452f477f5237e5848017f7d5
parentac2c84b749ab005099d27195c587edd1be640649 (diff)
downloadprosody-6f7d557c4a9cc4bbebb309412487212479e5efef.tar.gz
prosody-6f7d557c4a9cc4bbebb309412487212479e5efef.zip
mod_register: Remove the offline store as a list (originally aa3725bbcde5 but missed in a merge)
-rw-r--r--plugins/mod_register.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_register.lua b/plugins/mod_register.lua
index a35b4c5c..14b134c7 100644
--- a/plugins/mod_register.lua
+++ b/plugins/mod_register.lua
@@ -46,7 +46,7 @@ module:add_iq_handler("c2s", "jabber:iq:register", function (session, stanza)
-- TODO datamanager should be able to delete all user data itself
datamanager.store(username, host, "vcard", nil);
datamanager.store(username, host, "private", nil);
- datamanager.store(username, host, "offline", nil);
+ datamanager.list_store(username, host, "offline", nil);
local bare = username.."@"..host;
for jid, item in pairs(roster) do
if jid and jid ~= "pending" then