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

使 Multi Properties 支持私聊配置 #3

Open
LamGC opened this issue May 6, 2020 · 1 comment
Open

使 Multi Properties 支持私聊配置 #3

LamGC opened this issue May 6, 2020 · 1 comment
Assignees
Labels
adjustment 对程序的调整,无特殊说明情况下不影响现有功能 Priority:Normal 优先级 - 中
Projects

Comments

@LamGC
Copy link
Owner

LamGC commented May 6, 2020

计划在原有的群组配置上增加私聊配置,目前可以用以下方案来增加支持:

  • 在群组配置文件group.群组Id.properties基础上增加私聊配置文件private.QQId.properties
  • 增加getPrivateProperties(long),移除getProperties(long),开放已有方法getGroupProperties(long)
  • 更改Properties的获取方式,让需要限定Properties作用域的方法能够更清晰的选定类型;
@LamGC LamGC self-assigned this May 6, 2020
@LamGC LamGC added the adjustment 对程序的调整,无特殊说明情况下不影响现有功能 label May 6, 2020
@LamGC
Copy link
Owner Author

LamGC commented May 6, 2020

这次改动或许能保证不会被非法存取非该请求所限定的Properties(比如a群恶意使用了b群的配置)

@LamGC LamGC added the Priority:Normal 优先级 - 中 label Jul 10, 2020
@LamGC LamGC added this to To do in 3.0.0 Aug 27, 2020
@LamGC LamGC added this to the 3.0.0-alpha milestone Aug 27, 2020
@LamGC LamGC removed this from the 3.0.0-alpha milestone Nov 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
adjustment 对程序的调整,无特殊说明情况下不影响现有功能 Priority:Normal 优先级 - 中
Projects
3.0.0
  
To do
Development

No branches or pull requests

1 participant