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 | f6e6bc0bd98cd80284856cca780442361c6f1f88 (patch) | |
tree | 308868a2399f46d9088d67ae108d7d716b3d72ea /plugins | |
parent | 3bf3935e78e682642593f783762bc648a65f4d72 (diff) | |
download | prosody-f6e6bc0bd98cd80284856cca780442361c6f1f88.tar.gz prosody-f6e6bc0bd98cd80284856cca780442361c6f1f88.zip |
mod_websocket: Include xml:lang attribute on stream <open> (fixes #840)
Diffstat (limited to 'plugins')
-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 |