# HG changeset patch # User Kim Alvefur # Date 1526829586 -7200 # Node ID 3996437ff64fc17150d044ef7307c9ea48b2d13f # Parent 4cec8b7aed6dce6daf799d94d999db80a3dc115a mod_watchuntrusted: Actually add the untrusted_message_type option Left out of changeset ec671ad1a8a9 by mistake diff -r 4cec8b7aed6d -r 3996437ff64f mod_watchuntrusted/mod_watchuntrusted.lua --- a/mod_watchuntrusted/mod_watchuntrusted.lua Sun May 20 17:09:10 2018 +0200 +++ b/mod_watchuntrusted/mod_watchuntrusted.lua Sun May 20 17:19:46 2018 +0200 @@ -7,6 +7,8 @@ local untrusted_fail_watchers = module:get_option_set("untrusted_fail_watchers", module:get_option("admins", {})) / jid_prep; local untrusted_fail_notification = module:get_option("untrusted_fail_notification", "Establishing a secure connection from $from_host to $to_host failed. Certificate hash: $sha256. $errors"); +local msg_type = module:get_option_string("untrusted_message_type", "chat"); + local st = require "util.stanza"; local notified_about_already = { };