comparison mod_watchuntrusted/README.markdown @ 3020:ec671ad1a8a9

mod_watchuntrusted: Add option for which message 'type' to use on notifications Because poezio treats headline messages in a very sensible way that fits great with this kind of system message
author Kim Alvefur <zash@zash.se>
date Sun, 20 May 2018 16:21:07 +0200
parents 4d73a1a6ba68
children 0e78523f8c20
comparison
equal deleted inserted replaced
3019:b19d64dd4c66 3020:ec671ad1a8a9
26 26
27 untrusted_fail_watchers = { "admin@example.lit" } 27 untrusted_fail_watchers = { "admin@example.lit" }
28 untrusted_fail_notification = "Establishing a secure connection from $from_host to $to_host failed. Certificate hash: $sha1. $errors" 28 untrusted_fail_notification = "Establishing a secure connection from $from_host to $to_host failed. Certificate hash: $sha1. $errors"
29 29
30 Option Default Description 30 Option Default Description
31 ------------------------------- --------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------- 31 ------------------------------- --------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------
32 untrusted\_fail\_watchers All admins The users to send the message to 32 untrusted\_fail\_watchers All admins The users to send the message to
33 untrusted\_fail\_notification "Establishing a secure connection from \$from\_host to \$to\_host failed. Certificate hash: \$sha1. \$errors" The message to send, \$from\_host, \$to\_host, \$sha1 and \$errors are replaced 33 untrusted\_fail\_notification "Establishing a secure connection from \$from\_host to \$to\_host failed. Certificate hash: \$sha1. \$errors" The message to send, \$from\_host, \$to\_host, \$sha1 and \$errors are replaced
34 untrusted\_message\_type `"chat"` Which kind of message to send. `"normal"` or `"headline"` are other sensible options
34 35
35 Compatibility 36 Compatibility
36 ============= 37 =============
37 38
38 ------- ------- 39 ------- -------