Mercurial > prosody-modules
comparison mod_profile/mod_profile.lua @ 3193:92d80b6ce375
mod_profile: Bump priority of xep153 hook to surely run before mod_presence
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 24 Jul 2018 16:26:40 +0200 |
parents | 134e73ebfa5f |
children | 395835d89d88 |
comparison
equal
deleted
inserted
replaced
3192:134e73ebfa5f | 3193:92d80b6ce375 |
---|---|
255 end | 255 end |
256 stanza:add_direct_child(x_update); | 256 stanza:add_direct_child(x_update); |
257 end | 257 end |
258 | 258 |
259 if pep_plus then | 259 if pep_plus then |
260 module:hook("pre-presence/full", inject_xep153) | 260 module:hook("pre-presence/full", inject_xep153, 1) |
261 module:hook("pre-presence/bare", inject_xep153) | 261 module:hook("pre-presence/bare", inject_xep153, 1) |
262 module:hook("pre-presence/host", inject_xep153) | 262 module:hook("pre-presence/host", inject_xep153, 1) |
263 end | 263 end |