Skip to content

feat(gateway): reach back to a requested message and search across line breaks - #124

Merged
m1ngsama merged 2 commits into
mainfrom
feat/gateway-history-until
Nov 16, 2026
Merged

m1ngsama merged 2 commits into
mainfrom
feat/gateway-history-until

Conversation

@m1ngsama

Copy link
Copy Markdown
Owner

Universe can only jump to a message it already holds, so search results and quoted replies older than the loaded page say "scroll up" instead of opening the message.

  • A history frame may carry until, a message id. The gateway answers with every message from that one up to before in one page, up to 1,000 messages; further back, or an unknown id, gets unknown_message. Without until paging is unchanged.
  • Search treats a line break in a message as a space. A quoted reply flattens its original to one line, so the app can now find a multi-line original from the quote.

Checked locally with a 143-message log and a local id Worker: Universe opens the oldest message from a quote on the newest one.

@m1ngsama
m1ngsama force-pushed the feat/gateway-history-until branch from 59d5a43 to 7b758be Compare November 16, 2026 08:09
@m1ngsama
m1ngsama merged commit f3b05fb into main Nov 16, 2026
4 checks passed
@m1ngsama
m1ngsama deleted the feat/gateway-history-until branch November 16, 2026 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant