Comparison

plugins/muc/name.lib.lua @ 9034:1c709e3d2e5e

MUC: Improve labels of all config form items
author Matthew Wild <mwild1@gmail.com>
date Fri, 13 Jul 2018 13:22:40 +0100
parent 8988:d92b8bc6614c
child 11057:13eee48071c8
comparison
equal deleted inserted replaced
9033:f1b6efd5b379 9034:1c709e3d2e5e
22 22
23 local function insert_name_into_form(event) 23 local function insert_name_into_form(event)
24 table.insert(event.form, { 24 table.insert(event.form, {
25 name = "muc#roomconfig_roomname"; 25 name = "muc#roomconfig_roomname";
26 type = "text-single"; 26 type = "text-single";
27 label = "Name"; 27 label = "Title";
28 value = event.room._data.name; 28 value = event.room._data.name;
29 }); 29 });
30 end 30 end
31 31
32 module:hook("muc-disco#info", function(event) 32 module:hook("muc-disco#info", function(event)