I believe this is fixed with latest master.
Receiving notifications about receiving a chat message is delayed
From nodebb 1.13 when users receive a new chat message even if they are active in the forum, they are notified only after about 30 seconds even if they read the message.
What did this cause?
Thanks for reporting. This should be fixed in 1.13.2. https://github.com/NodeBB/NodeBB/commit/3cca929a889120c089ce508a74ce40789e0c02d0
@baris the 30 delay is intentional, I think... we wait that amount of time to see if additional messages are sent, and then we combine them into one notification.
Yeah that's still in, the bug was you were getting the notification even if you are online.