Changeset

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 3778:7209f481bcfe
children 3780:824447fc7759
files mod_invite/mod_invite.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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);