Changeset

7856:bd5008a7dcbd

mod_mam: Use correct local name for util.jid.prepped_split
author Kim Alvefur <zash@zash.se>
date Mon, 23 Jan 2017 19:32:07 +0100
parents 7855:e429982940fc
children 7857:db48b1697234 7858:14fe60a65c69
files plugins/mod_mam/mod_mam.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_mam/mod_mam.lua	Mon Jan 23 19:31:30 2017 +0100
+++ b/plugins/mod_mam/mod_mam.lua	Mon Jan 23 19:32:07 2017 +0100
@@ -249,7 +249,7 @@
 	-- 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