From b33c720c4ed58266c4e5a638df98941a69da7371 Mon Sep 17 00:00:00 2001 From: Nick Jennings Date: Sun, 14 Jun 2026 21:36:14 +0200 Subject: [PATCH] fix(irc): set channel name on attendance query target queryAttendance sent a query/attendance job whose target had only an id and no name. The Sockethub IRC platform builds the NAMES command from target.name, so the omission produced a bare NAMES, causing the server to return the entire network channel list and flood the connection on every join. Set name on the target, mirroring join. Closes #312 Refs sockethub/sockethub#1085 --- app/services/sockethub-irc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/sockethub-irc.js b/app/services/sockethub-irc.js index 3ece8df9..c2458755 100644 --- a/app/services/sockethub-irc.js +++ b/app/services/sockethub-irc.js @@ -228,7 +228,7 @@ export default class SockethubIrcService extends Service { queryAttendance (channel) { let msg = this.buildActivityObject(channel.account, { type: 'query', - target: { id: channel.sockethubChannelId, type: 'room' }, + target: { id: channel.sockethubChannelId, type: 'room', name: channel.name }, object: { type: 'attendance' }