# HG changeset patch # User Kim Alvefur # Date 1601827232 -7200 # Node ID c3eefb517b7b934dbf4f78244c18f7e91b852846 # Parent 1aea75b63d0ac6193fb08b6591d0c6859eefbce2 MUC: Correct advertising of subject write access (really fixes #1155) Thanks pep. and lovetox XEP-0045 ยง6.4: > any field defined for the muc\#roomconfig FORM_TYPE can be included in > the extended service discovery fields Probably happened because the same mistake is in #1155 diff -r 1aea75b63d0a -r c3eefb517b7b plugins/muc/subject.lib.lua --- a/plugins/muc/subject.lib.lua Sat Oct 03 15:03:09 2020 +0200 +++ b/plugins/muc/subject.lib.lua Sun Oct 04 18:00:32 2020 +0200 @@ -31,10 +31,10 @@ module:hook("muc-disco#info", function (event) table.insert(event.form, { - name = "muc#roominfo_changesubject"; + name = "muc#roomconfig_changesubject"; type = "boolean"; }); - event.formdata["muc#roominfo_changesubject"] = get_changesubject(event.room); + event.formdata["muc#roomconfig_changesubject"] = get_changesubject(event.room); end); module:hook("muc-config-form", function(event)