Software /
code /
prosody
Comparison
plugins/muc/mod_muc.lua @ 6141:bf6de8ef66c2
plugins/muc: Rename admin query hook
author | daurnimator <quae@daurnimator.com> |
---|---|
date | Thu, 27 Mar 2014 18:09:42 -0400 |
parent | 6129:6c66571ab0f9 |
child | 6179:e488a90195bc |
comparison
equal
deleted
inserted
replaced
6140:e4cdb3e5d7d0 | 6141:bf6de8ef66c2 |
---|---|
177 | 177 |
178 for event_name, method in pairs { | 178 for event_name, method in pairs { |
179 -- Normal room interactions | 179 -- Normal room interactions |
180 ["iq-get/bare/http://jabber.org/protocol/disco#info:query"] = "handle_disco_info_get_query" ; | 180 ["iq-get/bare/http://jabber.org/protocol/disco#info:query"] = "handle_disco_info_get_query" ; |
181 ["iq-get/bare/http://jabber.org/protocol/disco#items:query"] = "handle_disco_items_get_query" ; | 181 ["iq-get/bare/http://jabber.org/protocol/disco#items:query"] = "handle_disco_items_get_query" ; |
182 ["iq-set/bare/http://jabber.org/protocol/muc#admin:item"] = "handle_admin_item_set_command" ; | 182 ["iq-set/bare/http://jabber.org/protocol/muc#admin:query"] = "handle_admin_query_set_command" ; |
183 ["iq-get/bare/http://jabber.org/protocol/muc#admin:item"] = "handle_admin_item_get_command" ; | 183 ["iq-get/bare/http://jabber.org/protocol/muc#admin:query"] = "handle_admin_query_get_command" ; |
184 ["iq-set/bare/http://jabber.org/protocol/muc#owner:query"] = "handle_owner_query_set_to_room" ; | 184 ["iq-set/bare/http://jabber.org/protocol/muc#owner:query"] = "handle_owner_query_set_to_room" ; |
185 ["iq-get/bare/http://jabber.org/protocol/muc#owner:query"] = "handle_owner_query_get_to_room" ; | 185 ["iq-get/bare/http://jabber.org/protocol/muc#owner:query"] = "handle_owner_query_get_to_room" ; |
186 ["message/bare"] = "handle_message_to_room" ; | 186 ["message/bare"] = "handle_message_to_room" ; |
187 ["presence/bare"] = "handle_presence_to_room" ; | 187 ["presence/bare"] = "handle_presence_to_room" ; |
188 -- Host room | 188 -- Host room |
189 ["iq-get/host/http://jabber.org/protocol/disco#info:query"] = "handle_disco_info_get_query" ; | 189 ["iq-get/host/http://jabber.org/protocol/disco#info:query"] = "handle_disco_info_get_query" ; |
190 ["iq-get/host/http://jabber.org/protocol/disco#items:query"] = "handle_disco_items_get_query" ; | 190 ["iq-get/host/http://jabber.org/protocol/disco#items:query"] = "handle_disco_items_get_query" ; |
191 ["iq-set/host/http://jabber.org/protocol/muc#admin:item"] = "handle_admin_item_set_command" ; | 191 ["iq-set/host/http://jabber.org/protocol/muc#admin:query"] = "handle_admin_query_set_command" ; |
192 ["iq-get/host/http://jabber.org/protocol/muc#admin:item"] = "handle_admin_item_get_command" ; | 192 ["iq-get/host/http://jabber.org/protocol/muc#admin:query"] = "handle_admin_query_get_command" ; |
193 ["iq-set/host/http://jabber.org/protocol/muc#owner:query"] = "handle_owner_query_set_to_room" ; | 193 ["iq-set/host/http://jabber.org/protocol/muc#owner:query"] = "handle_owner_query_set_to_room" ; |
194 ["iq-get/host/http://jabber.org/protocol/muc#owner:query"] = "handle_owner_query_get_to_room" ; | 194 ["iq-get/host/http://jabber.org/protocol/muc#owner:query"] = "handle_owner_query_get_to_room" ; |
195 ["message/host"] = "handle_message_to_room" ; | 195 ["message/host"] = "handle_message_to_room" ; |
196 ["presence/host"] = "handle_presence_to_room" ; | 196 ["presence/host"] = "handle_presence_to_room" ; |
197 -- Direct to occupant (normal rooms and host room) | 197 -- Direct to occupant (normal rooms and host room) |