Move WeChat official accounts to a single space#18
Open
lennondotw wants to merge 1 commit intoduo:masterfrom
Open
Move WeChat official accounts to a single space#18lennondotw wants to merge 1 commit intoduo:masterfrom
lennondotw wants to merge 1 commit intoduo:masterfrom
Conversation
Owner
|
有两点
|
|
现在怎么样?大多数客户端现在都有空间支持。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
解决 #17 和 #11 中提到的问题。
修改
user.official_account_space_room字段,用来保存为公众号创建的 Space 对应的 IDuser_portal.in_official_account_space字段bridge.space_for_official_accounts,默认值为truebridge.personal_filtering_spaces默认值为true效果
sync space之后会自动将公众号移动到 WeChat Official Accounts 的 Space 中从旧版本升级:
目前可能存在的问题
如果使用了
bridge.space_for_official_accounts,再关闭之后执行sync space会将所有聊天都同步到默认的 Space,但不会清理之前创建的 WeChat Official Accounts 这个 Space 中的聊天,也不会删除这个 Space。新的聊天不会再被加入这个 Space 中。还有一些少量的服务号(比如美团支付提醒、腾讯企业邮箱),以及来自企业微信的聊天,没有做分类,都归类在了默认的 Space 中。