Comparison

plugins/muc/subject.lib.lua @ 11141:a5acd6354845

Merge 0.11->trunk
author Kim Alvefur <zash@zash.se>
date Mon, 05 Oct 2020 22:19:55 +0200
parent 9684:b2d6b79c9513
parent 11128:c3eefb517b7b
child 12977:74b9e05af71e
comparison
equal deleted inserted replaced
11139:2187643b8e20 11141:a5acd6354845
29 return true; 29 return true;
30 end 30 end
31 31
32 module:hook("muc-disco#info", function (event) 32 module:hook("muc-disco#info", function (event)
33 table.insert(event.form, { 33 table.insert(event.form, {
34 name = "muc#roominfo_changesubject"; 34 name = "muc#roomconfig_changesubject";
35 type = "boolean"; 35 type = "boolean";
36 }); 36 });
37 event.formdata["muc#roominfo_changesubject"] = get_changesubject(event.room); 37 event.formdata["muc#roomconfig_changesubject"] = get_changesubject(event.room);
38 end); 38 end);
39 39
40 module:hook("muc-config-form", function(event) 40 module:hook("muc-config-form", function(event)
41 table.insert(event.form, { 41 table.insert(event.form, {
42 name = "muc#roomconfig_changesubject"; 42 name = "muc#roomconfig_changesubject";