Commit graph

17 commits

Author SHA1 Message Date
Alex Gleason
c41430b23e
Refactor with Chat.for_user_query/1 2020-09-11 14:10:13 -05:00
lain
1a11f0e453 Chats: Change id to flake id. 2020-06-07 14:25:30 +02:00
lain
239d03499e Chat: creation_cng -> changeset
Make our usage of this more uniform.
2020-06-06 10:38:45 +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
aa22fce8f4 ChatMessageReference: Introduce and switch in chat controller. 2020-06-03 12:30:12 +02:00
lain
fdb98715b8 Chat: Fix wrong query. 2020-05-11 10:58:14 +02:00
lain
f335e1404a ChatView: Add the last message to the view. 2020-05-10 13:00:01 +02:00
lain
9637cded21 Chat: Fix missing chat id on second 'get' 2020-05-05 20:07:47 +02:00
lain
b04328c3de ChatController: Add mark_as_read 2020-05-04 13:10:36 +02:00
lain
89a6c34081 Apply suggestion to lib/pleroma/chat.ex 2020-04-29 18:14:34 +00:00
lain
970b74383b Credo fixes. 2020-04-20 12:29:19 +02:00
lain
64c78581fe Chat: Only create them for valid users for now. 2020-04-10 14:47:56 +02:00
lain
68abea313d ChatController: Add creation and return of chats. 2020-04-09 15:13:55 +02:00
lain
2e78686686 SideEffects: Handle ChatMessage creation. 2020-04-09 12:44:20 +02:00
lain
3775683a04 ChatMessage: Basic incoming handling. 2020-04-08 15:55:43 +02:00
lain
fd97b0e634 Chats: Basic implementation. 2020-04-02 15:19:09 +02:00