Commit c2bb792
committed
fix: no suggested posts crashing newer Instagram version
The “isOrganicMedia” property was removed from the IGMedia class in v415 (pretty sure). This was causing the crashes on feed load.
After decompiling “+ [_TtC17IGMediaExtensions26IGMediaOrganicMediaHelpers isOrganicMedia:]”, I discovered the “explorePostInFeed” property on IGBaseMedia. This appears to be the same value that “isOrganicMedia” had in older versions.1 parent 303f27a commit c2bb792
2 files changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
87 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
88 | 91 | | |
89 | 92 | | |
90 | 93 | | |
| |||
0 commit comments