groupchat: fix check for empty setting