refactor: prune legacy group targets

This commit is contained in:
Peter Steinberger
2026-01-17 09:01:36 +00:00
parent ae6792522d
commit bbb71c9198
15 changed files with 65 additions and 37 deletions

View File

@@ -209,7 +209,7 @@ export const handleSessionsBridgeMethods: BridgeMethodHandler = async (
chatType: entry?.chatType,
channel: entry?.channel,
subject: entry?.subject,
room: entry?.room,
groupChannel: entry?.groupChannel,
space: entry?.space,
lastChannel: entry?.lastChannel,
lastTo: entry?.lastTo,

View File

@@ -378,7 +378,7 @@ export function listSessionsFromStore(params: {
const parsed = parseGroupKey(key);
const channel = entry?.channel ?? parsed?.channel;
const subject = entry?.subject;
const room = entry?.room;
const groupChannel = entry?.groupChannel;
const space = entry?.space;
const id = parsed?.id;
const displayName =
@@ -387,7 +387,7 @@ export function listSessionsFromStore(params: {
? buildGroupDisplayName({
provider: channel,
subject,
room,
groupChannel,
space,
id,
key,
@@ -401,7 +401,7 @@ export function listSessionsFromStore(params: {
displayName,
channel,
subject,
room,
groupChannel,
space,
chatType: entry?.chatType,
updatedAt,

View File

@@ -15,7 +15,7 @@ export type GatewaySessionRow = {
displayName?: string;
channel?: string;
subject?: string;
room?: string;
groupChannel?: string;
space?: string;
chatType?: NormalizedChatType;
updatedAt: number | null;