Mercurial > prosody-modules
comparison mod_invites/mod_invites.lua @ 4376:4b617a246d81
mod_invites: Fix typo in variable name
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 23 Jan 2021 12:55:49 +0000 |
parents | a49ca492e621 |
children | a0f1fb5e7829 |
comparison
equal
deleted
inserted
replaced
4375:03cf0d41b272 | 4376:4b617a246d81 |
---|---|
86 -- during that time period | 86 -- during that time period |
87 function create_group(group_ids, ttl, additional_data) --luacheck: ignore 131/create_group | 87 function create_group(group_ids, ttl, additional_data) --luacheck: ignore 131/create_group |
88 local merged_additional_data = { | 88 local merged_additional_data = { |
89 groups = group_ids; | 89 groups = group_ids; |
90 }; | 90 }; |
91 if merged_additional_data then | 91 if additional_data then |
92 for k, v in pairs(additional_data) do | 92 for k, v in pairs(additional_data) do |
93 merged_additional_data[k] = v; | 93 merged_additional_data[k] = v; |
94 end | 94 end |
95 end | 95 end |
96 return create_invite("register", module.host, true, merged_additional_data, ttl, not not ttl); | 96 return create_invite("register", module.host, true, merged_additional_data, ttl, not not ttl); |