refactor(webapi): hoist RoomMetadata to blah_types and rename last_chat to last_item

This commit is contained in:
oxalica 2024-09-10 09:19:15 -04:00
parent c0ec429c24
commit 74c6fa6f6a
5 changed files with 40 additions and 33 deletions

View file

@ -377,7 +377,7 @@ components:
description: Room attributes bitset, see `RoomAttrs`.
type: integer
format: int64
last_chat:
last_item:
$ref: '#/components/schemas/WithItemId-WithSig-Chat'
last_seen_cid:
description: The `cid` of the last chat being marked as seen.