Commit Graph
3 Commits
Author SHA1 Message Date
Sjors Provoost 504a7cb051 Track seen relays from successful OKs
Record successful relay OK acknowledgements in RelayPool.seen
so posts and manual broadcasts update relay provenance.

Failed OK responses remain ignored.

Changelog-Fixed: Update note relay counts after successful
post or broadcast relay acknowledgements.

Signed-off-by: Sjors Provoost <sjors@sprovoost.nl>
2026-05-26 11:27:47 +02:00
Sjors Provoost 8c5b514057 Fix RelayPool tests and re-add to target
Restore RelayPoolTests to damusTests after 9091cb1a removed it
from the Xcode test target unintentionally.

Update its add-relay checks for the current async RelayPool API.

Signed-off-by: Sjors Provoost <sjors@sprovoost.nl>
2026-05-26 11:07:07 +02:00
Sjors Provoost 5920d00bb3 Extract RelayPool seen-note recording
Move the shared seen, count, and notification update into a
note-id helper.

This commit does not change behavior.

Signed-off-by: Sjors Provoost <sjors@sprovoost.nl>
2026-05-26 11:02:44 +02:00