Hello guys!
Isn't it possible to check whether the chat window for the certain contact is already opened and decide if it is necessary to show a notification basing on this?
I mean, if the chat window is already opened for the current contact, than it couldn't be that "... has just started a chat". Otherwise, if there had been no opened chat window for the current contact, and we get a chat message from this contact, it is definitely "...has just started a chat", I guess.
Or am I wrong?
Hello guys!
Isn't it possible to check whether the chat window for the certain contact is already opened and decide if it is necessary to show a notification basing on this?
I mean, if the chat window is already opened for the current contact, than it couldn't be that "... has just started a chat". Otherwise, if there had been no opened chat window for the current contact, and we get a chat message from this contact, it is definitely "...has just started a chat", I guess.
Or am I wrong?