When last message in a chat is deleted, session "preview" message is not updated
This bug was probably present in the Go version as well.
The simplest solution would probably be to always set the session's message to match the latest message.
Edit: the more correct solution is to aggregate the latest message per session into the Diesel model, as it will guarantee no wrong messages are ever updated into the session view. We don't have to worry about updating it at all.
Edited by Matti Viljanen