equal
deleted
inserted
replaced
776 } |
776 } |
777 }); |
777 }); |
778 return module:fire_event("muc-config-form", { room = self, actor = actor, form = form }) or form; |
778 return module:fire_event("muc-config-form", { room = self, actor = actor, form = form }) or form; |
779 end |
779 end |
780 |
780 |
781 function room_mt:get_voice_form_layout() |
781 function room_mt:get_voice_form_layout() -- luacheck: ignore 212/self |
782 local form = dataform.new({ |
782 local form = dataform.new({ |
783 { |
783 { |
784 name = "FORM_TYPE"; |
784 name = "FORM_TYPE"; |
785 type = "hidden"; |
785 type = "hidden"; |
786 value = "http://jabber.org/protocol/muc#request"; |
786 value = "http://jabber.org/protocol/muc#request"; |