summaryrefslogtreecommitdiff
path: root/src/xmpp_stream_in.erl
diff options
context:
space:
mode:
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>2017-08-25 12:47:33 +0300
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>2017-08-25 12:47:33 +0300
commitf7e8d287d5109f5ff769b23d531a207439e71f76 (patch)
treee6ae2ffdc2b21bcf38561a9a73b41c6e1a08b445 /src/xmpp_stream_in.erl
parentAdd forgotten caching options to the validator (thanks to Jan Pinkas) (diff)
Fix a typo
Diffstat (limited to 'src/xmpp_stream_in.erl')
-rw-r--r--src/xmpp_stream_in.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmpp_stream_in.erl b/src/xmpp_stream_in.erl
index 253adbf9..d9be3d4f 100644
--- a/src/xmpp_stream_in.erl
+++ b/src/xmpp_stream_in.erl
@@ -671,7 +671,7 @@ process_stream_established(#{stream_state := StateName} = State)
when StateName == disconnected; StateName == established ->
State;
process_stream_established(#{mod := Mod} = State) ->
- State1 = State#{stream_authenticated := true,
+ State1 = State#{stream_authenticated => true,
stream_state => established,
stream_timeout => infinity},
try Mod:handle_stream_established(State1)