Comment 4 for bug 190469

Revision history for this message
poy (poy) wrote :

the OnlineUser argument is only used to get the nick of the sender, so perhaps the message could be formatted with Util::formatMessage before it is sent to the listener?

or if you want to keep that argument and give it a default value, you can either call its constructor (const OnlineUser& ou = OnlineUser(...) but the OnlineUser constructor takes many parameters...) or use a pointer instead (OnlineUser* pOU = NULL).