Closed renmichaela closed 4 years ago
Possible fix/feature to help with #103 or #104.
I found this PHP library, which seems to do a reasonably good job counting how many messages our content will be broken into. https://github.com/instasent/sms-counter-php
I built an API endpoint around that, and have the message box component send a quick ajax request to the api with the message content when the user stops typing.
Ahh so sorry I didn't see this PR! I'll get it reviewed this evening.
Possible fix/feature to help with #103 or #104.
I found this PHP library, which seems to do a reasonably good job counting how many messages our content will be broken into. https://github.com/instasent/sms-counter-php
I built an API endpoint around that, and have the message box component send a quick ajax request to the api with the message content when the user stops typing.