refactor(agent): remove obsolete compatibility paths
This commit is contained in:
@@ -216,7 +216,7 @@ try
|
||||
await WechatChatClient.CloseSubWindowAsync("文件传输助手", cancellationToken);
|
||||
var contacts = await WechatChatClient.GetFriendsAsync(5000, cancellationToken);
|
||||
var newFriends = await WechatChatClient.GetNewFriendsAsync(true, cancellationToken);
|
||||
var groups = await WechatChatClient.GetRecentGroupsAsync(cancellationToken);
|
||||
var groups = await WechatChatClient.GetContactsPageAsync(limit: 200, groupsOnly: true, cancellationToken: cancellationToken);
|
||||
var myInfo = await WechatChatClient.GetMyInfoAsync(cancellationToken);
|
||||
await WechatChatClient.SwitchToChatsAsync(cancellationToken);
|
||||
var confirmationGuarded = false;
|
||||
@@ -236,7 +236,7 @@ try
|
||||
historyCount = history.Count,
|
||||
contactCount = contacts.Count,
|
||||
newFriendCount = newFriends.Count,
|
||||
recentGroupCount = groups.Count,
|
||||
groupPageCount = groups.Contacts.Count,
|
||||
accountDetected = !string.IsNullOrWhiteSpace(myInfo.DisplayName),
|
||||
confirmationGuarded,
|
||||
privacy = "names and account identifiers omitted"
|
||||
|
||||
Reference in New Issue
Block a user