# 从侧边栏上下文菜单访问常用聊天频道操作

**URL:** https://meta.discourse.org/t/access-common-chat-channel-actions-from-the-sidebar-context-menu/392667
**Category:** Announcements
**Tags:** chat
**Created:** [2026年一月5日 13:36 UTC](https://meta.discourse.org/t/access-common-chat-channel-actions-from-the-sidebar-context-menu/392667 "2026-01-05T13:36:21Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![martin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/martin/32/491371_2.png) [@martin](https://meta.discourse.org/u/martin)
#### Post date: [2026年一月18日 23:39 UTC](https://meta.discourse.org/t/access-common-chat-channel-actions-from-the-sidebar-context-menu/392667/7 "2026-01-18T23:39:32Z")

</div>

@Magie 此问题的一个修复程序现已合并：

> <https://github.com/discourse/discourse/pull/37165>
>
> Followup fc98ce9a7232009a33b74c1949dd1ffa1f73bddd
> 
> When we added the "Leave ch…annel" option to the chat sidebar
> context menu, for DM and group DM channels we mistakenly
> used the leaveChannel API call instead of unfollowChannel.
> 
> unfollowChannel is non-destructive and simply removes
> the channel from the user's sidebar, while leaveChannel
> is destructive and removes the user from the channel, which
> makes it impossible to find group channels again.
> 
> c.f. https://meta.discourse.org/t/access-common-chat-channel-actions-from-the-sidebar-context-menu/392667

---

_[View the full topic](https://meta.discourse.org/t/access-common-chat-channel-actions-from-the-sidebar-context-menu/392667)._
