Skip to content

warn: check if the user is currently blocked #169

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

Closed
wants to merge 0 commits into from

Conversation

hamishzx
Copy link
Collaborator

@hamishzx hamishzx commented Nov 1, 2020

Part of #50

@hamishzx hamishzx marked this pull request as draft November 1, 2020 04:19
@hamishzx hamishzx marked this pull request as ready for review November 1, 2020 05:24
@Xi-Plus
Copy link
Member

Xi-Plus commented Nov 1, 2020

  1. 確實這樣修改能夠處理 在警告/封禁時檢查另一狀態是否改變 #50 中提到的情況,但對於已知封鎖狀況且仍要警告的使用者,會收到不必要的提醒
  2. fetchBlockInfo 可以重用 block 模組的,不必寫新的
  3. 在 Twinkle.warn.callback.evaluate 裡面檢查封鎖狀態就不會導致重複的程式碼

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants