aboutsummaryrefslogtreecommitdiff
path: root/src/xmpp_stream_in.erl
diff options
context:
space:
mode:
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>2018-07-05 11:51:49 +0300
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>2018-07-05 11:51:49 +0300
commited1ee6061e6ab7844578e17aa70b17593e2c920f (patch)
treeada0a3b6e73b412f59e18b1c36e21a82b75ab7dc /src/xmpp_stream_in.erl
parentMove shaper to p1_utils repo (diff)
Move move randoms module to p1_utils repo
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 fa1038ead..31018d434 100644
--- a/src/xmpp_stream_in.erl
+++ b/src/xmpp_stream_in.erl
@@ -428,7 +428,7 @@ noreply(#{stream_timeout := {MSecs, StartTime}} = State) ->
-spec new_id() -> binary().
new_id() ->
- randoms:get_string().
+ p1_rand:get_string().
-spec is_disconnected(state()) -> boolean().
is_disconnected(#{stream_state := StreamState}) ->