Software /
code /
prosody
Changeset
7937:5b03a8003659
mod_websocket: Include xml:lang attribute on stream <open> (fixes #840)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 02 Mar 2017 03:03:04 +0100 |
parents | 7936:582bfb39337f |
children | 7938:3629f03817f8 |
files | plugins/mod_websocket.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_websocket.lua Thu Mar 02 00:46:32 2017 +0100 +++ b/plugins/mod_websocket.lua Thu Mar 02 03:03:04 2017 +0100 @@ -54,6 +54,7 @@ local function session_open_stream(session) local attr = { xmlns = xmlns_framing, + ["xml:lang"] = "en", version = "1.0", id = session.streamid or "", from = session.host