This repository was archived by the owner on Jan 25, 2025. It is now read-only.
don't bother with expected-message-count bullshit #48
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
just send the first 50 messages
%add-ship-to-chat response format when peers-get-backlog is false
{ "messages": [], "path": { "received-at": 1697817833481, "metadata": { "image": "", "title": "no-backlog", "description": "", "timestamp": "1697817647839", "creator": "~zod", "reactions": "true" }, "invites": "open", "updated-at": 1697817657537, "max-expires-at-duration": 0, "pins": [], "peers-get-backlog": false, "nft": null, "created-at": 1697817647843, "path": "/realm-chat/0v1.jaobb.dscji.k9tl5.leun1.a7jcr", "type": "group" } }%add-ship-to-chat response format when peers-get-backlog is true
{ "messages": [ { "received-at": 1697816611508, "metadata": {}, "reply-to": null, "updated-at": 1697816611236, "msg-part-id": 0, "created-at": 1697816611236, "path": "/realm-chat/0v5.gesrf.tru0r.tnqbd.1vul5.oduru", "content-data": "~bus joined the chat", "expires-at": null, "sender": "~bus", "content-type": "status", "msg-id": "/~2023.10.20..15.43.31..3c82/~bus" }, { "received-at": 1697816515041, "metadata": {}, "reply-to": null, "updated-at": 1697816515041, "msg-part-id": 0, "created-at": 1697816515041, "path": "/realm-chat/0v5.gesrf.tru0r.tnqbd.1vul5.oduru", "content-data": "msg3", "expires-at": null, "sender": "~zod", "content-type": "plain", "msg-id": "/~2023.10.20..15.41.55..0a95/~zod" }, { "received-at": 1697816512639, "metadata": {}, "reply-to": null, "updated-at": 1697816512639, "msg-part-id": 0, "created-at": 1697816512639, "path": "/realm-chat/0v5.gesrf.tru0r.tnqbd.1vul5.oduru", "content-data": "fuck you", "expires-at": null, "sender": "~zod", "content-type": "plain", "msg-id": "/~2023.10.20..15.41.52..a38e/~zod" }, { "received-at": 1697816511219, "metadata": {}, "reply-to": null, "updated-at": 1697816511219, "msg-part-id": 0, "created-at": 1697816511219, "path": "/realm-chat/0v5.gesrf.tru0r.tnqbd.1vul5.oduru", "content-data": "here's some bullshit", "expires-at": null, "sender": "~zod", "content-type": "plain", "msg-id": "/~2023.10.20..15.41.51..380f/~zod" }, { "received-at": 1697816490181, "metadata": {}, "reply-to": null, "updated-at": 1697816490181, "msg-part-id": 0, "created-at": 1697816490181, "path": "/realm-chat/0v5.gesrf.tru0r.tnqbd.1vul5.oduru", "content-data": "~zod added 2 peers", "expires-at": null, "sender": "~zod", "content-type": "status", "msg-id": "/~2023.10.20..15.41.30..2e54/~zod" } ], "path": { "received-at": 1697818326940, "metadata": { "image": "", "title": "create-backlog testing", "description": "", "timestamp": "1697816490178", "creator": "~zod", "reactions": "true" }, "invites": "open", "updated-at": 1697816505072, "max-expires-at-duration": 0, "pins": [], "peers-get-backlog": true, "nft": null, "created-at": 1697816490181, "path": "/realm-chat/0v5.gesrf.tru0r.tnqbd.1vul5.oduru", "type": "group" } }