fix(search): make closed DM search work correctly (#37)

This commit is contained in:
hampus-fluxer
2026-01-06 01:32:00 +01:00
committed by GitHub
parent ea0a2d8aae
commit cbe914cf6f
10 changed files with 127 additions and 1 deletions

View File

@@ -435,6 +435,14 @@ export class UserRepository implements IUserRepositoryAggregate {
return this.channelRepo.listPrivateChannels(userId);
}
async listHistoricalDmChannelIds(userId: UserID): Promise<Array<ChannelID>> {
return this.channelRepo.listHistoricalDmChannelIds(userId);
}
async recordHistoricalDmChannel(userId: UserID, channelId: ChannelID, isGroupDm: boolean): Promise<void> {
return this.channelRepo.recordHistoricalDmChannel(userId, channelId, isGroupDm);
}
async listPrivateChannelSummaries(userId: UserID): Promise<Array<PrivateChannelSummary>> {
return this.channelRepo.listPrivateChannelSummaries(userId);
}