projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9af158e
)
mod_presence: Use type-specific config API for boolean 'ignore_presence_priority...
author
Kim Alvefur
<zash@zash.se>
Fri, 11 Mar 2016 12:13:20 +0000
(13:13 +0100)
committer
Kim Alvefur
<zash@zash.se>
Fri, 11 Mar 2016 12:13:20 +0000
(13:13 +0100)
plugins/mod_presence.lua
patch
|
blob
|
history
diff --git
a/plugins/mod_presence.lua
b/plugins/mod_presence.lua
index ab57a15811ca1e28a208eb026b2a1fdf46fd24a2..76394baf19c300b3fac0a63f5206fdea3b0ec7f6 100644
(file)
--- a/
plugins/mod_presence.lua
+++ b/
plugins/mod_presence.lua
@@
-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