Repository navigation
[NEW] Allow to set default department and location sharing on SMS / WhatsApp integration - #16557
Conversation
…g-sms-integration
…g-sms-integration
|
Dear @renatobecker , I think this pull request may be broking the other sms integration, since it's forcing the integration to declare an "extra" object inside returnData in the "parse" function. I'm currently developing a new integration for other sms/whatsapp service provider and it only works if latitude and longitude are declared. I think it may be broking the other integrations (but I'm not sure) such as mobex and voxtelesys |
Thanks for point that out, I'll take a look at this case ASAP. |
This PR adds a new setting that allows defining a default Omnichannel department for SMS/WhatsApp integration.
So, if the setting is defined, all new incoming chats received through the
SMSintegration will be routed to the configured department.In addition(CLOSES RocketChat/feature-requests#304), a new
whatsAppfeature will be supported: Inbound/Outbound location sharing.Both agents and WhatsApp users will be able to share their locations, as displayed below:
Also, part of the code has been rewritten to make it simpler and more readable.