mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 05:25:40 +09:00
fix(guild): render activity log entries deterministically (#2766)
This commit is contained in:
135 files changed
+75869
-2708
No files matched your search
@@ -104,12 +104,14 @@ export class ChannelDataService {
|
||||
data,
|
||||
clientFeatures,
|
||||
requestCache,
|
||||
auditLogReason,
|
||||
}: {
|
||||
userId: UserID;
|
||||
channelId: ChannelID;
|
||||
data: Omit<ChannelUpdateRequest, 'type'>;
|
||||
clientFeatures: ReadonlySet<string>;
|
||||
requestCache: RequestCache;
|
||||
auditLogReason: string | null;
|
||||
}): Promise<Channel> {
|
||||
const {channel} = await this.auth.getChannelAuthenticated({userId, channelId, skipNsfwValidation: true});
|
||||
if (channel.type === ChannelTypes.GROUP_DM) {
|
||||
@@ -182,6 +184,7 @@ export class ChannelDataService {
|
||||
data: channelUpdateData,
|
||||
clientFeatures,
|
||||
requestCache,
|
||||
auditLogReason,
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user