public void ForceChatRefresh() { foreach (ClientWindow window in OpenWindows) { ChatChannelWindow chat = window as ChatChannelWindow; if (chat != null) { // Force window refresh chat.firstMessageIndexRendered = ulong.MaxValue; } } }
public void ForceChatRefresh() { foreach (ClientWindow window in OpenWindows) { ChatChannelWindow chat = window as ChatChannelWindow; if (chat != null && chat.Component != null && chat.Component.MessageHolder != null) { // Force window refresh chat.Component.MessageHolder.ForceRefresh(); } } }