Skip to content

Commit

Permalink
fix(Twitter): fix video entity hook in 10.58
Browse files Browse the repository at this point in the history
  • Loading branch information
swakwork committed Sep 9, 2024
1 parent c2b6f79 commit e8a833d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ object VideoEntityPatch:BytecodePatch(
val clsName = fr.definingClass
val mName = fr.name

val cls = context.findClass(clsName)!!.mutableClass
val cls = context.findClass { it.type == clsName }!!.mutableClass
val m2 = cls.methods.find { it.name == mName }
val i2 = m2!!.getInstructions()

Expand Down

0 comments on commit e8a833d

Please sign in to comment.