summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2026-05-01 08:00:15 -0300
committerEuAndreh <eu@euandre.org>2026-05-01 08:00:15 -0300
commit381f36ed6e78c3dfec3ddcf20547f08e289535b2 (patch)
tree8c44d64e8b60a36e28d22ec6b7baa2d3849de64b /tests
parentFix JOIN race: pin NAMES/broadcast to atomic membership snapshot (diff)
downloadpapod-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')
0 files changed, 0 insertions, 0 deletions