aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_message.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-06-26 15:35:20 +0100
committerMatthew Wild <mwild1@gmail.com>2009-06-26 15:35:20 +0100
commita01f4e62493a01afa9813c2197596854b62c7b71 (patch)
treea61a86d4c8d608927d58ee67fa9f0be4864efbb1 /plugins/mod_message.lua
parent87ffa5ec0f9f2860a5ae44342cce3336d4d42561 (diff)
downloadprosody-a01f4e62493a01afa9813c2197596854b62c7b71.tar.gz
prosody-a01f4e62493a01afa9813c2197596854b62c7b71.zip
mod_message: Advertise offline message support as per XEP-0160 (thanks nolan)
Diffstat (limited to 'plugins/mod_message.lua')
-rw-r--r--plugins/mod_message.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/mod_message.lua b/plugins/mod_message.lua
index 72ccfdd0..b56aef0a 100644
--- a/plugins/mod_message.lua
+++ b/plugins/mod_message.lua
@@ -67,3 +67,5 @@ module:hook("message/bare", function(data)
return process_to_bare(stanza.attr.to or (origin.username..'@'..origin.host), origin, stanza);
end);
+
+module:add_feature("msgoffline");