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
parent e74ceb4432
commit 07f75ea500
No known key found for this signature in database
GPG key ID: 9456BC54A21DBFA0

View file

@ -624,6 +624,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.