Software /
code /
prosody
Comparison
plugins/muc/affiliation_notify.lib.lua @ 7990:3d17b2bf0e0c
MUC: Shorter label
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 21 Mar 2017 04:41:40 +0100 |
parent | 7401:e16b3fd0bd80 |
child | 8942:ecb5e13d97bb |
comparison
equal
deleted
inserted
replaced
7989:5632aa85e0b6 | 7990:3d17b2bf0e0c |
---|---|
29 | 29 |
30 module:hook("muc-config-form", function(event) | 30 module:hook("muc-config-form", function(event) |
31 table.insert(event.form, { | 31 table.insert(event.form, { |
32 name = "muc#roomconfig_affiliationnotify"; | 32 name = "muc#roomconfig_affiliationnotify"; |
33 type = "boolean"; | 33 type = "boolean"; |
34 label = "Notify users when their affiliation changes when they are not in the room?"; | 34 label = "Notify absent users when their affiliation changes?"; |
35 value = get_affiliation_notify(event.room); | 35 value = get_affiliation_notify(event.room); |
36 }); | 36 }); |
37 end, 100-11); | 37 end, 100-11); |
38 | 38 |
39 module:hook("muc-config-submitted/muc#roomconfig_affiliationnotify", function(event) | 39 module:hook("muc-config-submitted/muc#roomconfig_affiliationnotify", function(event) |