Skip to content

Commit

Permalink
fix: MultiForwardAvatarHook on 9.0.90
Browse files Browse the repository at this point in the history
  • Loading branch information
HdShare committed Oct 3, 2024
1 parent 849f3a7 commit 7c17671
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/main/java/cc/ioctl/hook/msg/MultiForwardAvatarHook.kt
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ object MultiForwardAvatarHook : CommonSwitchFunctionHook(arrayOf(CAIOUtils, Mult
// 设置头像点击和长按事件的方法
DexKit.requireMethodFromCache(Multiforward_Avatar_setListener_NT).hookBefore { param ->
var layout: RelativeLayout?
clz.declaredFields.single {
it.name == if (requireMinQQVersion(QQVersion.QQ_9_0_95)) "h"
clz.declaredFields.single {//Lazy avatarContainer
it.name == if (requireMinQQVersion(QQVersion.QQ_9_0_90)) "h"
else if (requireMinQQVersion(QQVersion.QQ_9_0_65)) "i"
else "h"
}.let {
Expand Down

0 comments on commit 7c17671

Please sign in to comment.