Changeset

7433:7eec6f3c7300

Merge 0.9->0.10
author Kim Alvefur <zash@zash.se>
date Sun, 22 May 2016 14:39:14 +0200
parents 7432:92f721226753 (current diff) 7430:ad0b15f253ee (diff)
children 7434:3b16f2802ef0 7435:8603b16e85c7
files plugins/mod_presence.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_presence.lua	Sun May 22 14:38:07 2016 +0200
+++ b/plugins/mod_presence.lua	Sun May 22 14:39:14 2016 +0200
@@ -178,6 +178,7 @@
 		end
 		core_post_stanza(origin, stanza);
 		send_presence_of_available_resources(node, host, to_bare, origin);
+		core_post_stanza(origin, st.presence({ type = "probe", from = from_bare, to = to_bare }));
 	elseif stanza.attr.type == "unsubscribed" then
 		-- 1. send unavailable
 		-- 2. route stanza