diff mod_invite/mod_invite.lua @ 3779:5e69a4358053

mod_invite: Update to use local_user ad-hoc permission (thanks Martin)
author Matthew Wild <mwild1@gmail.com>
date Fri, 27 Dec 2019 11:03:29 +0000
parents 4e99005cf917
children 75b6e5df65f9
line wrap: on
line diff
--- a/mod_invite/mod_invite.lua	Fri Dec 27 11:00:43 2019 +0000
+++ b/mod_invite/mod_invite.lua	Fri Dec 27 11:03:29 2019 +0000
@@ -156,6 +156,6 @@
 	return { info = module:http_url() .. "/" .. uuid, status = "completed" };
 end
 
-local adhoc_invite = adhoc_new("Invite user", "invite", invite_command_handler, "user")
+local adhoc_invite = adhoc_new("Invite user", "invite", invite_command_handler, "local_user")
 
-module:add_item("adhoc", adhoc_invite);
\ No newline at end of file
+module:add_item("adhoc", adhoc_invite);