Live Helper Chat support forum.. Old google groups forum can be found here
You are not logged in.
Pages: 1
I recently made some simple modifications to the Twilio module to work with Whatsapp and I would like to know if it is possible to end the chat permanently. For every user interaction if Chat timeout is not reached, Livehelperchat reopens the chat.
Offline
Hi jersonjunior ,
welcome on the live helper chat forum!
About your question I need ask to the chat owner. I cannot grant a reply but i will try to.
PeopleInside - Live helper chat - free limited forum support!
For commercial support or GitHub [see FAQ here]
If you want to support this open source project, just donate [see support page]
Something wrong with the forum? [contact a superhero]
Offline
Hi,
At the moment there is no setting for that. But you can make small modification there
https://github.com/LiveHelperChat/twili … p.php#L469
Something like
[== Undefined ==]
if (($chat = $tChat->chat) !== false) && $chat instanceof erLhcoreClassModelChat && $chat->status == erLhcoreClassModelChat::STATUS_CLOSED_CHAT) {
$tChat->removeThis();
$tChat = null;
}
Offline
Hi, It worked with this code but if the client sends another message for example after 5 minutes the LHC does not receive more messages from that client! I had to remove the chat there and open another chat!
Offline
Well default logic is just always if chat is closed. Make it pending again if i receive new messages. Fb extension has something similar what you want. Perhaps it would help
https://github.com/LiveHelperChat/fbmes … tstrap.php
Offline
I'll take a look at the code, there is some possibility of updating the Twilio module for Whatsapp, I left in github the modifications I made.
Offline
Pages: 1