Don't spam permission errors if we don't have the permission to view the channel description
This commit is contained in:
parent
4b64b4c0be
commit
5a02b70fb1
2 changed files with 3 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
||||||
* **24.03.21**
|
* **24.03.21**
|
||||||
- Improved the avatar upload modal (now way more intuitive)
|
- Improved the avatar upload modal (now way more intuitive)
|
||||||
- Fixed a bug which cause client avatars to be stuck within the loading screen
|
- 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**
|
* **23.03.21**
|
||||||
- Made the permission editor popoutable
|
- Made the permission editor popoutable
|
||||||
|
|
|
@ -301,6 +301,8 @@ export class ChannelEntry extends ChannelTreeEntry<ChannelEvents> {
|
||||||
if(!this.channelDescriptionCached) {
|
if(!this.channelDescriptionCached) {
|
||||||
await this.channelTree.client.serverConnection.send_command("channelgetdescription", {
|
await this.channelTree.client.serverConnection.send_command("channelgetdescription", {
|
||||||
cid: this.channelId
|
cid: this.channelId
|
||||||
|
}, {
|
||||||
|
process_result: false
|
||||||
});
|
});
|
||||||
|
|
||||||
if(!this.channelDescriptionCached) {
|
if(!this.channelDescriptionCached) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue