Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow retracting autoflag from chat #33

Open
j-f1 opened this issue Feb 7, 2017 · 3 comments
Open

Allow retracting autoflag from chat #33

j-f1 opened this issue Feb 7, 2017 · 3 comments

Comments

@j-f1
Copy link
Contributor

j-f1 commented Feb 7, 2017

It would be great to add a button on Smokey’s report to retract the autoflag if you were chosen as the flagger. In fact, it could be a set of buttons: a checkmark to mark the post as tpu-, and an x to mark the post as fp- and retract the flag.

@Undo1
Copy link
Member

Undo1 commented Feb 7, 2017

We don't have a way to retract flags from the API, we'd need http://meta.stackexchange.com/q/288120/215468 to be implemented.

@j-f1
Copy link
Contributor Author

j-f1 commented Feb 7, 2017

This can be done if the user’s fkey is known:

$.post(`/flags/posts/${postId}/retract/${flagType}`, {
  fkey: StackExchange.options.user.fkey
})

I could definitely get the fkey in Coal, so this could be a feature there.

@ArtOfCode-
Copy link
Member

@j-f1 Trip hazard: chat fkeys are different to main-site fkeys.

@makyen makyen added FIRE and removed AIM labels Jan 11, 2022
@makyen makyen self-assigned this Jan 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

5 participants