From ed1ee6061e6ab7844578e17aa70b17593e2c920f Mon Sep 17 00:00:00 2001 From: Evgeniy Khramtsov Date: Thu, 5 Jul 2018 11:51:49 +0300 Subject: Move move randoms module to p1_utils repo --- src/xmpp_stream_in.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/xmpp_stream_in.erl') 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}) -> -- cgit v1.2.3