# HG changeset patch # User Kim Alvefur # Date 1488420184 -3600 # Node ID 5b03a80036599ecf6957ebad13b8de587ae79506 # Parent 582bfb39337fcc8fff057cf2f2abbb5e61b41fba mod_websocket: Include xml:lang attribute on stream (fixes #840) diff -r 582bfb39337f -r 5b03a8003659 plugins/mod_websocket.lua --- 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