-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
30 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package ru.vtosters.hooks; | ||
|
||
import com.vtosters.lite.api.execute.GetWallInfo; | ||
|
||
import java.util.ArrayList; | ||
|
||
/** | ||
* Since June 12, 2024, there are troubles with API method "execute.getUserInfo" in the old versions of VK Client (<6.16), | ||
* to fix that issue we need to upgrade "execute.getUserInfo" for new API versions | ||
* and implement the new API method "newsfeed.getPostTopics" (TODO)*/ | ||
@SuppressWarnings("unused") | ||
public class PostTopicsHook { | ||
public static void hook(final GetWallInfo.a model) throws Exception { | ||
model.f = new ArrayList<>(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters