diff mod_push2/mod_push2.lua @ 6200:1c16bb49f6f6

mod_push2: rename chat to filter
author Stephen Paul Weber <singpolyma@singpolyma.net>
date Fri, 11 Apr 2025 20:08:56 -0500
parents 06621ab30be0
children 6164849469f1
line wrap: on
line diff
--- a/mod_push2/mod_push2.lua	Wed Apr 09 19:05:42 2025 +0200
+++ b/mod_push2/mod_push2.lua	Fri Apr 11 20:08:56 2025 -0500
@@ -33,7 +33,7 @@
 local function parse_match(matchel)
 		local match = { match = matchel.attr.profile, chats = {} }
 
-		for chatel in matchel:childtags("chat") do
+		for chatel in matchel:childtags("filter") do
 			local chat = {}
 			if chatel:get_child("mention") then
 				chat.mention = true