Serubin / pulse-sms-web

The official web app for Pulse SMS - built on Vue.js.
https://pulsesms.app
Other
109 stars 44 forks source link

Update snippet from websocket stream #114

Closed klinker24 closed 4 years ago

klinker24 commented 4 years ago

When the updated_conversation event comes in, it could really mean any number of things, but a lot of the time it just means that the snippet was updated.

It has never been handled in the past, because the added_message event has always effectively taken care of the snippet updates. With the new draft support though, that is a bit different. I am doing something a bit different for the draft support, in terms of updating the conversation snippets. I discussed some drawbacks, here: #110.

With this change and this change on Android, drafts will work in the following way:

Drafts will still not fully work with snippets until I release a new version of the Android app