Skip to content

feat: Better MessagingStyle function#1581

Closed
PianCat wants to merge 3 commits intocinit:mainfrom
PianCat:feat/disablebubble
Closed

feat: Better MessagingStyle function#1581
PianCat wants to merge 3 commits intocinit:mainfrom
PianCat:feat/disablebubble

Conversation

@PianCat
Copy link
Copy Markdown
Contributor

@PianCat PianCat commented Mar 18, 2026

标题 / Title Here

功能:更好的 MessagingStyle,支持可选关闭对话气泡
feat: Better MessagingStyle with optional conversation bubble disable

描述 / Description

  • 添加一个开关,用于禁用对话子频道和气泡,但保留父频道的 MessagingStyle 通知
  • add a switch to disable conversation sub-channels and bubbles, but keep MessagingStyle notifications on parent channels
  • 保留现有的图标和通知行为
  • preserve existing icon and notification behavior
  • 在禁用对话子频道和气泡时,自动清理孤立的对话子频道
  • auto-clean orphaned conversation child channels when disable conversation sub-channels and bubbles
  • 使 NT 和非 NT 通知流程遵循相同的兼容性策略
  • align NT and Non-NT notification flows with the same compatibility policy

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

This will close issue #1580

检查列表 / 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)

…tions

- add a switch to disable conversation subchannels and bubbles
- keep MessagingStyle notifications on parent channels for customized ROMs
- preserve existing icon and notification behavior
- auto-clean orphaned conversation child channels
- align NT and NonNT notification flows with the same compatibility policy
@duzhaokun123
Copy link
Copy Markdown
Collaborator

不要把测试的东西提交上来

@PianCat PianCat force-pushed the feat/disablebubble branch from 79bb7cd to 33615b7 Compare March 19, 2026 07:43
@PianCat
Copy link
Copy Markdown
Contributor Author

PianCat commented Mar 19, 2026

不要把测试的东西提交上来

已重新 push

- Separate the switch of subchannel and bubble
- Improve the info of these two switch
@PianCat PianCat force-pushed the feat/disablebubble branch from 33615b7 to c9f5eb6 Compare March 19, 2026 09:08
@PianCat
Copy link
Copy Markdown
Contributor Author

PianCat commented Mar 19, 2026

不要把测试的东西提交上来

@duzhaokun123

已修改完毕,当前已实现:

开关分离,目前已分离成两个独立开关:

  • 禁用通知气泡
  • 不使用会话子频道发送通知

每个开关对应的功能都可正常使用

Comment thread app/src/main/java/moe/zapic/hook/MessagingStyleNotificationConfig.kt Outdated
Comment thread app/src/main/java/moe/zapic/hook/MessagingStyleNotification.kt Outdated
@duzhaokun123
Copy link
Copy Markdown
Collaborator

这种多个配置项的参考一下别的 用 dialog 或者 fragment

不要设置多个独立的项目

@PianCat PianCat force-pushed the feat/disablebubble branch 2 times, most recently from c8ac972 to ed95175 Compare March 22, 2026 04:22
@PianCat PianCat force-pushed the feat/disablebubble branch from ed95175 to 4841fd5 Compare March 22, 2026 04:47
@PianCat
Copy link
Copy Markdown
Contributor Author

PianCat commented Mar 22, 2026

这种多个配置项的参考一下别的 用 dialog 或者 fragment

不要设置多个独立的项目

已改进

@cinit
Copy link
Copy Markdown
Owner

cinit commented Apr 2, 2026

rebased to 3602362

@cinit cinit closed this Apr 2, 2026
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.

3 participants