Comparison

plugins/muc/description.lib.lua @ 8831:f25fa63750fb

MUC: Some spacing to improve readability
author Kim Alvefur <zash@zash.se>
date Sat, 26 May 2018 15:10:23 +0200
parent 8830:5d7db3c7c026
child 9034:1c709e3d2e5e
comparison
equal deleted inserted replaced
8830:5d7db3c7c026 8831:f25fa63750fb
33 type = "text-single"; 33 type = "text-single";
34 label = "Description"; 34 label = "Description";
35 value = get_description(event.room) or ""; 35 value = get_description(event.room) or "";
36 }); 36 });
37 end 37 end
38
38 module:hook("muc-disco#info", add_disco_form); 39 module:hook("muc-disco#info", add_disco_form);
39 module:hook("muc-config-form", add_form_option, 100-2); 40 module:hook("muc-config-form", add_form_option, 100-2);
40 41
41 module:hook("muc-config-submitted/muc#roomconfig_roomdesc", function(event) 42 module:hook("muc-config-submitted/muc#roomconfig_roomdesc", function(event)
42 if set_description(event.room, event.value) then 43 if set_description(event.room, event.value) then