From 359b94d98084b1e005d5add74f3739f6ef36aa8b Mon Sep 17 00:00:00 2001 From: olive Date: Sun, 13 Sep 2026 17:05:53 +0100 Subject: xmpp: multi-muc, sep out user resolution --- nanochat/pylon.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nanochat') diff --git a/nanochat/pylon.lua b/nanochat/pylon.lua index 3e63b7a..096dcf0 100644 --- a/nanochat/pylon.lua +++ b/nanochat/pylon.lua @@ -31,9 +31,9 @@ function Nanochat:recving() if not deliverables[chan] then deliverables[chan] = {} end local sender, body = msg:match("^([^:]+): (.+)$", msgi) if sender then - deliverables[chan][#deliverables[chan]+1] = { i=i, sender=sender, body=body } + deliverables[chan][#deliverables[chan]+1] = { i=i, sender="[n]"..sender, body=body } else - deliverables[chan][#deliverables[chan]+1] = { i=i, sender=nil, body=msg:sub(msgi,-1) } + deliverables[chan][#deliverables[chan]+1] = { i=i, sender="[n]", body=msg:sub(msgi,-1) } end end end -- cgit v1.2.3