Thanks poy. I went with the first way you suggested (Util::formatMessage before sent to listener) as i figured it's better than sending stuff which is never used.
Please check this carefully though :)
I also made some of the status messages in ADCHub.cpp translatable.
Also a comment about this:
} else if(messageType == ClientListener::STATUS_MESSAGE) {
speak(ADD_STATUS_LINE, msg);
This is different from the original code, since was sending Status Messages to
speak(ADD_CHAT_LINE, msg);
But i assumed that was wrong, since like that, there is no "real" status messages.
As for kick message filtering "cleanly in adc" i was at a loss of how / where to do this, so left it.
Thanks poy. I went with the first way you suggested (Util:: formatMessage before sent to listener) as i figured it's better than sending stuff which is never used.
Please check this carefully though :)
I also made some of the status messages in ADCHub.cpp translatable.
Also a comment about this: :STATUS_ MESSAGE) { ADD_STATUS_ LINE, msg); ADD_CHAT_ LINE, msg);
} else if(messageType == ClientListener:
speak(
This is different from the original code, since was sending Status Messages to
speak(
But i assumed that was wrong, since like that, there is no "real" status messages.
As for kick message filtering "cleanly in adc" i was at a loss of how / where to do this, so left it.