mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
mod_presence: Use type-specific config API for boolean 'ignore_presence_priority' option
This commit is contained in:
parent
bc0ce12e97
commit
421cbe1c1a
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ local function recalc_resource_map(user)
|
|||
end
|
||||
end
|
||||
|
||||
local ignore_presence_priority = module:get_option("ignore_presence_priority");
|
||||
local ignore_presence_priority = module:get_option_boolean("ignore_presence_priority", false);
|
||||
|
||||
function handle_normal_presence(origin, stanza)
|
||||
if ignore_presence_priority then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue