Software /
code /
prosody-modules
Diff
mod_http_admin_api/mod_http_admin_api.lua @ 4358:d3e0fe470877
mod_http_admin_api: Ensure 'reusable' flag is always present on an invite
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 19 Jan 2021 20:35:08 +0000 |
parent | 4357:a49ca492e621 |
child | 4359:5dbce7f35aa0 |
line wrap: on
line diff
--- a/mod_http_admin_api/mod_http_admin_api.lua Tue Jan 19 20:34:23 2021 +0000 +++ b/mod_http_admin_api/mod_http_admin_api.lua Tue Jan 19 20:35:08 2021 +0000 @@ -63,7 +63,7 @@ return { id = token_info.token; type = token_info.type; - reusable = token_info.reusable; + reusable = not not token_info.reusable; inviter = token_info.inviter; jid = token_info.jid; uri = token_info.uri;