Changeset

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 3192:134e73ebfa5f
children 3194:395835d89d88
files mod_profile/mod_profile.lua
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mod_profile/mod_profile.lua	Tue Jul 24 16:23:04 2018 +0200
+++ b/mod_profile/mod_profile.lua	Tue Jul 24 16:26:40 2018 +0200
@@ -257,7 +257,7 @@
 end
 
 if pep_plus then
-	module:hook("pre-presence/full", inject_xep153)
-	module:hook("pre-presence/bare", inject_xep153)
-	module:hook("pre-presence/host", inject_xep153)
+	module:hook("pre-presence/full", inject_xep153, 1)
+	module:hook("pre-presence/bare", inject_xep153, 1)
+	module:hook("pre-presence/host", inject_xep153, 1)
 end