Software /
code /
prosody
Comparison
plugins/mod_presence.lua @ 7281:21da137d83b0
mod_presence: Fix partial rename
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 14 Mar 2016 18:27:16 +0100 |
parent | 7279:051279755cad |
child | 7331:c8ad387aab1c |
comparison
equal
deleted
inserted
replaced
7279:051279755cad | 7281:21da137d83b0 |
---|---|
25 local NULL = {}; | 25 local NULL = {}; |
26 | 26 |
27 local rostermanager = require "core.rostermanager"; | 27 local rostermanager = require "core.rostermanager"; |
28 local sessionmanager = require "core.sessionmanager"; | 28 local sessionmanager = require "core.sessionmanager"; |
29 | 29 |
30 local recalc_resource_map = require "util.presencepriority".recalc_resource_map; | 30 local recalc_resource_map = require "util.presence".recalc_resource_map; |
31 | 31 |
32 local ignore_presence_priority = module:get_option_boolean("ignore_presence_priority", false); | 32 local ignore_presence_priority = module:get_option_boolean("ignore_presence_priority", false); |
33 | 33 |
34 function handle_normal_presence(origin, stanza) | 34 function handle_normal_presence(origin, stanza) |
35 if ignore_presence_priority then | 35 if ignore_presence_priority then |