summaryrefslogtreecommitdiff
path: root/src/ejabberd_http_ws.erl
diff options
context:
space:
mode:
authorIgor Manturov Jr <igor.manturov.jr@gmail.com>2016-08-23 00:59:39 +0600
committerGitHub <noreply@github.com>2016-08-23 00:59:39 +0600
commitd5659735b301d1945705e44a0716d5a50cf6fffd (patch)
treeacddfea75e2c479cda4d28582b14b7e65e23e88f /src/ejabberd_http_ws.erl
parentmod_muc_admin: Accept 'allow_subscription' option (diff)
Fixed #1260 Stream Management feature for the websocket connections
Diffstat (limited to '')
-rw-r--r--src/ejabberd_http_ws.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ejabberd_http_ws.erl b/src/ejabberd_http_ws.erl
index e66cf33a..24554a8c 100644
--- a/src/ejabberd_http_ws.erl
+++ b/src/ejabberd_http_ws.erl
@@ -112,7 +112,7 @@ socket_handoff(LocalPath, Request, Socket, SockMod, Buf, Opts) ->
%%% Internal
init([{#ws{ip = IP, http_opts = HOpts}, _} = WS]) ->
- SOpts = lists:filtermap(fun({stream_managment, _}) -> true;
+ SOpts = lists:filtermap(fun({stream_management, _}) -> true;
({max_ack_queue, _}) -> true;
({resume_timeout, _}) -> true;
({max_resume_timeout, _}) -> true;