The first autoopened message in non-focused window is marked read
If Azoth window isn't focused, user usually can't have read the newly arrived message.
- If there's an opened chat tab, and new message arrives there, it isn't marked as read (MaR).
- If there's an opened chat tab, message from another contact arrives and is auto-opened, it isn't MaR.
- But if no chat tabs are open, newly arrived message is auto-opened and MaR
In all described cases Azoth window isn't active/focused.