Fix unarchive action (#6920)
This commit is contained in:
parent
dd60257364
commit
312c019841
1 changed files with 1 additions and 1 deletions
|
|
@ -1264,7 +1264,7 @@ export const unarchiveChannel = async (serverUrl: string, channelId: string) =>
|
|||
try {
|
||||
EphemeralStore.addArchivingChannel(channelId);
|
||||
await client.unarchiveChannel(channelId);
|
||||
await setChannelDeleteAt(serverUrl, channelId, Date.now());
|
||||
await setChannelDeleteAt(serverUrl, channelId, 0);
|
||||
return {error: undefined};
|
||||
} catch (error) {
|
||||
forceLogoutIfNecessary(serverUrl, error as ClientErrorProps);
|
||||
|
|
|
|||
Loading…
Reference in a new issue