summaryrefslogtreecommitdiffstats
path: root/openapi.json
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2024-03-05 12:27:02 +0100
committerJoas Schilling <coding@schilljs.com>2024-03-05 12:36:33 +0100
commit7d7765c1fe47a2f7a84cdc4b000ae9d1307dc837 (patch)
tree967ff46c67f4e10cc191370a5e71bb87291875f2 /openapi.json
parent11a1888e635893bbea7487e4ac1af3350ec7c803 (diff)
feat(chat): Allow marking chat as read without a last message ID
This is required for federated conversations where the clients might not know the hosted message ID but only the proxy ID instead Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'openapi.json')
-rw-r--r--openapi.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/openapi.json b/openapi.json
index e7b9d2292..297c18091 100644
--- a/openapi.json
+++ b/openapi.json
@@ -6148,11 +6148,11 @@
{
"name": "lastReadMessage",
"in": "query",
- "description": "ID if the last read message",
- "required": true,
+ "description": "ID if the last read message (Optional only with `chat-read-last` capability)",
"schema": {
"type": "integer",
"format": "int64",
+ "nullable": true,
"minimum": 0
}
},