Skip to content

Commit

Permalink
feat: add tips for missing group uin
Browse files Browse the repository at this point in the history
为合并转发消息移除群号显示添加原因
(群号已被服务器端屏蔽)
  • Loading branch information
std-microblock committed Aug 23, 2023
1 parent 4bcdc0d commit 0130061
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/src/main/java/cc/ioctl/hook/msg/MultiForwardAvatarHook.kt
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,11 @@ object MultiForwardAvatarHook : CommonSwitchFunctionHook(arrayOf(CAIOUtils, Mult
ll.setPadding(p, p / 3, p, p / 3)
if (troopUin != null) {
// troop
HostStyledViewBuilder.newDialogClickableItemClickToCopy(ctx, "群号", if (isTroopUinAvailable) troopUin.toString() else "群号已被腾讯服务器端屏蔽", ll, true) {
if (isTroopUinAvailable) {
OpenProfileCard.openTroopProfileActivity(ctx, troopUin.toString())
}
}
HostStyledViewBuilder.newDialogClickableItemClickToCopy(ctx, "成员", senderUin.toString(), ll, true) {
if (senderUin > 10000) {
OpenProfileCard.openUserProfileCard(ctx, senderUin)
Expand Down

0 comments on commit 0130061

Please sign in to comment.