Skip to content

Unpin All Messages When Moving Help Channels#1909

Merged
jchristgit merged 2 commits into
mainfrom
pin-consistency
Oct 28, 2021
Merged

Unpin All Messages When Moving Help Channels#1909
jchristgit merged 2 commits into
mainfrom
pin-consistency

Conversation

@HassanAbouelela
Copy link
Copy Markdown
Contributor

Resolves partially #1903.

This implements a consistency guarantee for help channel pins, by making sure there are no pins stuck in the channel when moving it into the available category.

Occasional hiccups in the Discord API would cause unpinning in help
channel to sometimes fails. This gets around that by unpinning all
messages when making the channel available.

Signed-off-by: Hassan Abouelela <hassan@hassanamr.com>
@HassanAbouelela HassanAbouelela added a: backend Related to internal functionality and utilities (error_handler, logging, security, utils and core) p: 2 - normal Normal Priority a: help channels Related to the help channel system t: enhancement Changes or improvements to existing features labels Oct 24, 2021
@Xithrius Xithrius added the s: needs review Author is waiting for someone to review and approve label Oct 24, 2021
Copy link
Copy Markdown
Contributor

@Akarys42 Akarys42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes

Copy link
Copy Markdown
Contributor

@jchristgit jchristgit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to me.

Thanks!

@jchristgit jchristgit enabled auto-merge October 28, 2021 18:12
@jchristgit jchristgit merged commit d416c74 into main Oct 28, 2021
@jchristgit jchristgit deleted the pin-consistency branch October 28, 2021 18:14
@Xithrius Xithrius removed the s: needs review Author is waiting for someone to review and approve label Nov 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a: backend Related to internal functionality and utilities (error_handler, logging, security, utils and core) a: help channels Related to the help channel system p: 2 - normal Normal Priority t: enhancement Changes or improvements to existing features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants