Mercurial > prosody-hg
diff plugins/mod_s2s/mod_s2s.lua @ 6608:b6e558febb7a
Merge with merge merge merge
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Fri, 27 Mar 2015 22:19:44 +0000 |
| parents | 64e6b88b6b21 61b6a4fc65f1 |
| children | 071611bc4f1d 6735e2d735d6 |
line wrap: on
line diff
--- a/plugins/mod_s2s/mod_s2s.lua Fri Mar 27 22:11:58 2015 +0000 +++ b/plugins/mod_s2s/mod_s2s.lua Fri Mar 27 22:19:44 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
