From 5a02b70fb10af1f2c0df2317c9a7f6354857cef3 Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Wed, 24 Mar 2021 17:58:47 +0100 Subject: [PATCH] Don't spam permission errors if we don't have the permission to view the channel description --- ChangeLog.md | 1 + shared/js/tree/Channel.ts | 2 ++ 2 files changed, 3 insertions(+) diff --git a/ChangeLog.md b/ChangeLog.md index cb2bb076..95c729d5 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -2,6 +2,7 @@ * **24.03.21** - Improved the avatar upload modal (now way more intuitive) - Fixed a bug which cause client avatars to be stuck within the loading screen + - Don't spam permission errors if we don't have the permission to view the channel description * **23.03.21** - Made the permission editor popoutable diff --git a/shared/js/tree/Channel.ts b/shared/js/tree/Channel.ts index 0a6a0105..c8fd34aa 100644 --- a/shared/js/tree/Channel.ts +++ b/shared/js/tree/Channel.ts @@ -301,6 +301,8 @@ export class ChannelEntry extends ChannelTreeEntry { if(!this.channelDescriptionCached) { await this.channelTree.client.serverConnection.send_command("channelgetdescription", { cid: this.channelId + }, { + process_result: false }); if(!this.channelDescriptionCached) {