diff options
author | Robert Hoelz <rob@hoelz.ro> | 2010-12-09 12:38:33 -0600 |
---|---|---|
committer | Robert Hoelz <rob@hoelz.ro> | 2010-12-09 12:38:33 -0600 |
commit | 3ac96f5c347b78d1e1ac8a21c8667a08860c668b (patch) | |
tree | 3652a0a24958c8d48969d2d657be180e6d3e2726 | |
parent | e448dd997f86e2883412bafa88e0811155719bf8 (diff) | |
download | prosody-3ac96f5c347b78d1e1ac8a21c8667a08860c668b.tar.gz prosody-3ac96f5c347b78d1e1ac8a21c8667a08860c668b.zip |
mod_offline: Make sure mod_offline's store handler reports success vs failure.
-rw-r--r-- | plugins/mod_offline.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_offline.lua b/plugins/mod_offline.lua index f44d16af..d1370b41 100644 --- a/plugins/mod_offline.lua +++ b/plugins/mod_offline.lua @@ -29,7 +29,7 @@ module:hook("message/offline/store", function(event) local result = datamanager.list_append(node, host, "offline", st.preserialize(stanza)); stanza.attr.stamp, stanza.attr.stamp_legacy = nil, nil; - return true; + return result; end); module:hook("message/offline/broadcast", function(event) |