From b54ba7235144f22208ce22ca31da705a62531935 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Mon, 23 Jan 2017 19:32:07 +0100 Subject: mod_mam: Use correct local name for util.jid.prepped_split --- plugins/mod_mam/mod_mam.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 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 -- cgit v1.2.3