Add admin-only private chat messages and message deletion
Deploy with Docker Compose / deploy (push) Successful in 58s
Deploy with Docker Compose / deploy (push) Successful in 58s
Admins can flag a chat message as private so only other admin connections receive it, and can delete any message. Admin status is read from the auth cookies on the WebSocket upgrade request. Co-Authored-By: Claude Fable 5.1 <[email protected]>
This commit is contained in:
@@ -3,6 +3,7 @@ type Message {
|
||||
content: String!
|
||||
authorId: Int!
|
||||
fileUrl: String
|
||||
private: Boolean!
|
||||
createdAt: Time!
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user