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

fix: DisableUtfControlCharacterInNickname #1161

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Allenyou1126
Copy link
Contributor

@Allenyou1126 Allenyou1126 commented Sep 1, 2024

标题 / Title Here

优化将 RTLO、LTRO 等 UTF 控制字符替换为空格功能的实现

描述 / Description

将功能的实现改为 #1151@EatHatsuneShallots 提及的方法。

仅进行了有限的测试。

修复或解决的问题 / Issues Fixed or Closed by This PR

检查列表 / Check List

  • 我已经在预期的 QQ 或 TIM 版本上测试了这些更改,并确认它们能够正常工作,不会破坏任何东西(尽我所能)。
    I have tested these changes on the expected version and confirmed that they work and don't break anything (as well as I can manage).
  • 我的改动不会导致本模块丢失对旧版 QQ 或 TIM 的支持。
    My changes will not cause this module to lose support for older versions of QQ or TIM。
  • 我已经合并了对后续工作无意义的提交,并确认它们不会对后续维护造成破坏。(必须)
    I have merged commits that are meaningless for follow-up work and confirmed that they will not cause damage to follow-up maintenance. (Required)

@EatHatsuneShallots
Copy link

EatHatsuneShallots commented Sep 6, 2024

最好确保 TextView.getTransformationMethod() 返回的对象与原来的一样,这可以通过在 TextView.setTransformationMethod() 方法中直接 Hook 入参对象来实现(注意入参值为 null 的情况)

@Allenyou1126
Copy link
Contributor Author

最好确保 TextView.getTransformationMethod() 返回的对象与原来的一样,这可以通过在 TextView.setTransformationMethod() 方法中直接 Hook 入参对象来实现(注意入参值为 null 的情况)

ok,过些天我有空就再测试一下

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

Successfully merging this pull request may close these issues.

2 participants