A system message can also be one that's received or sent. So check if a message is system message before checking if it's received or sent.
Also, update tests
/cc @guido.gunther
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
A system message can also be one that's received or sent. So check if a message is system message before checking if it's received or sent.
Also, update tests
/cc @guido.gunther