aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_mam/mod_mam.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-01-23 19:32:07 +0100
committerKim Alvefur <zash@zash.se>2017-01-23 19:32:07 +0100
commitb54ba7235144f22208ce22ca31da705a62531935 (patch)
tree68949ca278eb5856a62465a8885721ea3c806b12 /plugins/mod_mam/mod_mam.lua
parente33a46962cccbe8c2fa29e6c57b103787b2e9b86 (diff)
downloadprosody-b54ba7235144f22208ce22ca31da705a62531935.tar.gz
prosody-b54ba7235144f22208ce22ca31da705a62531935.zip
mod_mam: Use correct local name for util.jid.prepped_split
Diffstat (limited to 'plugins/mod_mam/mod_mam.lua')
-rw-r--r--plugins/mod_mam/mod_mam.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_mam/mod_mam.lua b/plugins/mod_mam/mod_mam.lua
index 69977813..f6ca52c0 100644
--- a/plugins/mod_mam/mod_mam.lua
+++ b/plugins/mod_mam/mod_mam.lua
@@ -249,7 +249,7 @@ local function message_handler(event, c2s)
-- Filter out <stanza-id> that claim to be from us
stanza:maptags(function (tag)
if tag.name == "stanza-id" and tag.attr.xmlns == "urn:xmpp:sid:0" then
- local by_user, by_host, res = prepped_split(tag.attr.by);
+ local by_user, by_host, res = jid_prepped_split(tag.attr.by);
if not res and by_host == module.host and by_user == store_user then
return nil;
end