Quote:
Originally Posted by nemo08
If you add this in the ICUser every time you restart the account you will get crash immediately ..
|
its not the right way but, try this
Code:
if(g_pCGInterface)
{
CIFChatViewer* chatView = (CIFChatViewer*)g_pCGInterface->m_IRM.GetResObj(1, 1);
if(chatView && chatView->IsVisible())
{
chatView->hideEmojis();
chatView->emojiHandler();
}
}
the right way is to insert the codes into onupdate of chatviewer