I'm afraid there is no simple way to implement such feature in Mibew Messenger 1.6.x.
Well after some time i spend looking at mibew code, i founded that it is not gonna be too easy but i have to do. So i did it like this...
- chat.php@550 in chat.status.operator.left message, I concated some set of strange symbols that anyone will not post like normal message, like $message . "_/\_"
- chat.js@195, i'm just looking for that symbols in message in javascript, if there are it means that operator left chat, and i set window.AgentLeftTheChat = true
- chat.js@142, if there is variable window.AgentLeftTheChat, i just trigger alert and do return, and chat conversation is locked..
What do you mean? Where do you want to identify this message and what you gonna do with this information?
From description above i hope you got what i wanted to do. In first place i was looking for some kind of message type/status, and i founded that
ikind in messages DB was 6 when operator left or enter in chat, that almost help me to solve my problem but i could not find difference between actions entering and leaving some conversation
Never mind, i founded some kind of simple solution that i'm happy with and it works.
Thanks for this peace of code once more, keep it open