chat history: clear friend deque when clearing pm history

This commit is contained in:
TheStonedTurtle
2019-04-25 13:09:51 -07:00
committed by Adam
parent 678d868c03
commit efbf6ea9a4

View File

@@ -176,6 +176,7 @@ public class ChatHistoryPlugin extends Plugin implements KeyListener
{
messageQueue.removeIf(e -> e.getType() == ChatMessageType.PRIVATECHAT ||
e.getType() == ChatMessageType.PRIVATECHATOUT || e.getType() == ChatMessageType.MODPRIVATECHAT);
friends.clear();
}
else
{