summaryrefslogtreecommitdiff
path: root/src/mod_muc.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/mod_muc.erl
parentMove shaper to p1_utils repo (diff)
Move move randoms module to p1_utils repo
Diffstat (limited to 'src/mod_muc.erl')
-rw-r--r--src/mod_muc.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_muc.erl b/src/mod_muc.erl
index 3be8d168..f44b5392 100644
--- a/src/mod_muc.erl
+++ b/src/mod_muc.erl
@@ -568,7 +568,7 @@ process_muc_unique(#iq{type = set, lang = Lang} = IQ) ->
process_muc_unique(#iq{from = From, type = get,
sub_els = [#muc_unique{}]} = IQ) ->
Name = str:sha(term_to_binary([From, p1_time_compat:timestamp(),
- randoms:get_string()])),
+ p1_rand:get_string()])),
xmpp:make_iq_result(IQ, #muc_unique{name = Name}).
-spec process_mucsub(iq()) -> iq().