chat-history: fix plugin not clearing history
This commit is contained in:
@@ -254,7 +254,8 @@ public class ChatHistoryPlugin extends Plugin implements KeyListener
|
||||
{
|
||||
final String menuOption = event.getMenuOption();
|
||||
|
||||
if (CLEAR_HISTORY.equals(menuOption))
|
||||
// The menu option for clear history is "<col=ffff00>Public:</col> Clear history"
|
||||
if (menuOption.endsWith(CLEAR_HISTORY))
|
||||
{
|
||||
clearChatboxHistory(ChatboxTab.of(event.getWidgetId()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user