Check whether to display lobby joins in the game creation screen.

Fixes #6234
This commit is contained in:
Pentarctagon 2021-11-14 11:03:34 -06:00 committed by Pentarctagon
parent 60c6e72921
commit 8367598b32

View file

@ -582,6 +582,8 @@ void chatbox::process_message(const ::config& data, bool whisper /*= false*/)
if(whisper) {
add_whisper_received(sender, message);
} else {
if (!preferences::parse_should_show_lobby_join(sender, message)) return;
std::string room = data["room"];
// Attempt to send to the currently active room first.