Diff

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
parent 3192:134e73ebfa5f
child 3194:395835d89d88
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