main ← issue/fix-chat-context-leave-group
merged 09:07AM - 16 Jan 26 UTC
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