Commit graph

8 commits

Author SHA1 Message Date
lain 0b621a834a Chats: Add cascading delete on both referenced users.
Also remove the now-superfluous join in the chat controller,
which was only used to filter out these cases.
2020-08-31 16:48:17 +02:00
lain 7f5c5b11a5 Chats: Remove unread from the db, calculate from unseen messages. 2020-06-03 14:26:50 +02:00
lain 2591745fc2 ChatMessageReferences: Move tests 2020-06-03 12:56:39 +02:00
lain fdb98715b8 Chat: Fix wrong query. 2020-05-11 10:58:14 +02:00
lain 9637cded21 Chat: Fix missing chat id on second 'get' 2020-05-05 20:07:47 +02:00
lain 64c78581fe Chat: Only create them for valid users for now. 2020-04-10 14:47:56 +02:00
lain 2e78686686 SideEffects: Handle ChatMessage creation. 2020-04-09 12:44:20 +02:00
lain fd97b0e634 Chats: Basic implementation. 2020-04-02 15:19:09 +02:00