# HG changeset patch # User Matthew Wild # Date 1427213017 0 # Node ID b1c84d220c409b7b17cd41e850576db253406b0a # Parent f93e1b2ec327253bb289a0e8f88a322b1ad8d520 mod_s2s: to/from attributes are required on s2s stream headers. Set them to '' when not available. Fixes #468. diff -r f93e1b2ec327 -r b1c84d220c40 plugins/mod_s2s/mod_s2s.lua --- a/plugins/mod_s2s/mod_s2s.lua Tue Mar 24 15:57:46 2015 +0000 +++ b/plugins/mod_s2s/mod_s2s.lua Tue Mar 24 16:03:37 2015 +0000 @@ -512,7 +512,7 @@ version = session.version and (session.version > 0 and "1.0" or nil), ["xml:lang"] = 'en', id = session.streamid, - from = from, to = to, + from = from or "", to = to or "", } if not from or (hosts[from] and hosts[from].modules.dialback) then attr["xmlns:db"] = 'jabber:server:dialback';