Don't spam permission errors if we don't have the permission to view the channel description

master
WolverinDEV 2021-03-24 17:58:47 +01:00
parent 4b64b4c0be
commit 5a02b70fb1
2 changed files with 3 additions and 0 deletions

View File

@ -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

View File

@ -301,6 +301,8 @@ export class ChannelEntry extends ChannelTreeEntry<ChannelEvents> {
if(!this.channelDescriptionCached) {
await this.channelTree.client.serverConnection.send_command("channelgetdescription", {
cid: this.channelId
}, {
process_result: false
});
if(!this.channelDescriptionCached) {