Skip to content

feat(gateway): carry private messages both ways, list app users in TNT and search history - #113

Merged
m1ngsama merged 1 commit into
mainfrom
feat/gateway-private
Oct 14, 2026
Merged

m1ngsama merged 1 commit into
mainfrom
feat/gateway-private

Conversation

@m1ngsama

Copy link
Copy Markdown
Owner

TNT 1.6 can list app users and carry private messages for them; this connects the gateway to it and adds history search for the app. Closes #110 and #111.

  • A private frame reaches another app user directly, or an SSH user through private.post. A name nobody online uses gets not_online. The sender's other connections get an echo with its nonce.
  • TNT's private.created reaches the app user it names, with the sender's verified flag.
  • presence.remote tells TNT the app users online whenever that set changes.
  • A search frame returns up to 50 recent messages whose sender or text contains the query, newest first, without join and leave notices.
  • TNT-facing records are sent only to TNT 1.6.0 or later. The manifest now asks for message:private.

…T and search history

App users can message each other and SSH users privately. Messages for SSH
users go to TNT 1.6 as private.post, and TNT's private.created reaches the app
user it names. TNT learns the set of app users from presence.remote. A search
frame finds up to 50 recent messages by sender or text.
@m1ngsama
m1ngsama merged commit abe1fe9 into main Oct 14, 2026
4 checks passed
@m1ngsama
m1ngsama deleted the feat/gateway-private branch October 14, 2026 12:09
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.

Private messages do not reach app users

1 participant