Software /
code /
prosody
Diff
plugins/mod_s2s/mod_s2s.lua @ 6602:61b6a4fc65f1
Merge 0.9->0.10
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 26 Mar 2015 16:48:39 +0000 |
parent | 6473:7c8f58d2b331 |
parent | 6600:b1c84d220c40 |
child | 6608:b6e558febb7a |
line wrap: on
line diff
--- a/plugins/mod_s2s/mod_s2s.lua Wed Jan 21 02:55:27 2015 +0100 +++ b/plugins/mod_s2s/mod_s2s.lua Thu Mar 26 16:48:39 2015 +0000 @@ -499,6 +499,12 @@ if not from or (hosts[from] and hosts[from].modules.dialback) then attr["xmlns:db"] = 'jabber:server:dialback'; end + if not from then + attr.from = ''; + end + if not to then + attr.to = ''; + end end -- Session initialization logic shared by incoming and outgoing