refactor: prune legacy group targets
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -15,7 +15,7 @@ export type GatewaySessionRow = {
|
||||
displayName?: string;
|
||||
channel?: string;
|
||||
subject?: string;
|
||||
room?: string;
|
||||
groupChannel?: string;
|
||||
space?: string;
|
||||
chatType?: NormalizedChatType;
|
||||
updatedAt: number | null;
|
||||
|
||||
Reference in New Issue
Block a user