mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 13:47:41 +03:00
mod_websocket: Include xml:lang attribute on stream <open> (fixes #840)
This commit is contained in:
parent
3bf3935e78
commit
f6e6bc0bd9
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue