diff options
author | Kim Alvefur <zash@zash.se> | 2017-03-02 03:03:04 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-03-02 03:03:04 +0100 |
commit | 41ef96b42ec9e3b43b6767dbcc4782a446191165 (patch) | |
tree | 308868a2399f46d9088d67ae108d7d716b3d72ea /plugins/mod_websocket.lua | |
parent | db1a8151988bbdba535201b6e1313c41d29e2a3f (diff) | |
download | prosody-41ef96b42ec9e3b43b6767dbcc4782a446191165.tar.gz prosody-41ef96b42ec9e3b43b6767dbcc4782a446191165.zip |
mod_websocket: Include xml:lang attribute on stream <open> (fixes #840)
Diffstat (limited to 'plugins/mod_websocket.lua')
-rw-r--r-- | plugins/mod_websocket.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_websocket.lua b/plugins/mod_websocket.lua index 47d170a1..01f2fa5b 100644 --- a/plugins/mod_websocket.lua +++ b/plugins/mod_websocket.lua @@ -54,6 +54,7 @@ local c2s_listener = portmanager.get_service("c2s").listener; local function session_open_stream(session) local attr = { xmlns = xmlns_framing, + ["xml:lang"] = "en", version = "1.0", id = session.streamid or "", from = session.host |