Software /
code /
prosody
Changeset
8884:a387e00471d6
Backed out changeset cd186331ab1f (subject in disco#info)
Makes more sense if you must join the room to see the subject, since
there’s a separate public description field.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 07 Jun 2018 18:53:30 +0200 |
parents | 8883:3f975bbfec3b |
children | 8885:d4f5d47f874d |
files | plugins/muc/subject.lib.lua |
diffstat | 1 files changed, 0 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/muc/subject.lib.lua Wed Jun 06 22:27:40 2018 +0200 +++ b/plugins/muc/subject.lib.lua Thu Jun 07 18:53:30 2018 +0200 @@ -73,13 +73,6 @@ return true; end -module:hook("muc-disco#info", function (event) - table.insert(event.form, { - name = "muc#roominfo_subject"; - }); - event.formdata["muc#roominfo_subject"] = select(2, get_subject(event.room)); -end); - -- Send subject to joining user module:hook("muc-occupant-session-new", function(event) send_subject(event.room, event.stanza.attr.from);