diff options
| author | EuAndreh <eu@euandre.org> | 2026-05-01 08:00:15 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2026-05-01 08:00:15 -0300 |
| commit | 381f36ed6e78c3dfec3ddcf20547f08e289535b2 (patch) | |
| tree | 8c44d64e8b60a36e28d22ec6b7baa2d3849de64b /tests/functional | |
| parent | Fix JOIN race: pin NAMES/broadcast to atomic membership snapshot (diff) | |
| download | papod-381f36ed6e78c3dfec3ddcf20547f08e289535b2.tar.gz papod-381f36ed6e78c3dfec3ddcf20547f08e289535b2.tar.xz | |
Record topic setter + set-time so 333 reports the truth
RPL_TOPICWHOTIME (333) was emitted on JOIN with the *joiner's*
nick as the setter and System/currentTimeMillis as the set-time —
neither of which has any relationship to who actually set the
topic when.
Add :papod.channel/topic-set-by (string) and :papod.channel/topic-
set-at (long unix seconds) to the schema, populate them in the
TOPIC handler, and read them in join-one!'s 333 emission (falling
back to nick / now if absent, e.g. an empty channel snapshot
imported without the new attrs).
Surfaced by the chat.papo.im differential test (333 line diverged
between fake-ircd's correctly-tracked setter and papod's broken
output).
Diffstat (limited to 'tests/functional')
0 files changed, 0 insertions, 0 deletions
