Don't show recent clan chats with CC req popup (#6067)

This commit is contained in:
Ron Young
2018-10-18 12:31:55 -05:00
committed by Tomas Slusny
parent ae65bca6f5
commit ef7c7267f3

View File

@@ -113,12 +113,12 @@ public class ClanChatPlugin extends Plugin
if (clanChatTitleWidget != null)
{
Widget clanChatList = client.getWidget(WidgetInfo.CLAN_CHAT_LIST);
Widget owner = client.getWidget(WidgetInfo.CLAN_CHAT_OWNER);
if (client.getClanChatCount() > 0)
{
clanChatTitleWidget.setText(CLAN_CHAT_TITLE + " (" + client.getClanChatCount() + "/100)");
}
else if (config.recentChats() && clanChatList.getChildren() == null)
else if (config.recentChats() && clanChatList.getChildren() == null && !Strings.isNullOrEmpty(owner.getText()))
{
clanChatTitleWidget.setText(RECENT_TITLE);