From da9bcc3370be3f38ae16eacaefa8c28513e2d593 Mon Sep 17 00:00:00 2001 From: Badlop Date: Fri, 9 Nov 2018 13:21:35 +0100 Subject: [PATCH] Recover logging of user joining room, lost in 32de9a56 (thanks to elexis1) --- src/mod_muc_room.erl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mod_muc_room.erl b/src/mod_muc_room.erl index 492f9a4b3..020772781 100644 --- a/src/mod_muc_room.erl +++ b/src/mod_muc_room.erl @@ -1658,6 +1658,7 @@ prepare_room_queue(StateData) -> -spec update_online_user(jid(), #user{}, state()) -> state(). update_online_user(JID, #user{nick = Nick} = User, StateData) -> LJID = jid:tolower(JID), + add_to_log(join, Nick, StateData), Nicks1 = case (?DICT):find(LJID, StateData#state.users) of {ok, #user{nick = OldNick}} -> case lists:delete(