Mercurial > prosody-hg
comparison plugins/muc/muc.lib.lua @ 8852:5e98d62f3f9b
MUC: Ignore unused argumens [luacheck]
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Fri, 20 Oct 2017 05:45:03 +0200 |
| parents | ab5f678f1376 |
| children | f84f566dea58 |
comparison
equal
deleted
inserted
replaced
| 8851:ab5f678f1376 | 8852:5e98d62f3f9b |
|---|---|
| 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"; |
