mirror of
https://github.com/rhunk/SnapEnhance.git
synced 2025-05-02 15:44:24 +02:00
fix(story_logger): ignore friends of friends stories
Signed-off-by: rhunk <101876869+rhunk@users.noreply.github.com>
This commit is contained in:
parent
5fbd7667b1
commit
97bce2011b
@ -73,6 +73,9 @@ class MixerStories : Feature("MixerStories", loadParams = FeatureLoadParams.INIT
|
||||
val storyMap = mutableMapOf<String, MutableList<StoryData>>()
|
||||
|
||||
firstOrNull(3)?.toReader()?.eachBuffer(3) {
|
||||
val storySubType = getVarInt(23)
|
||||
// ignore friends of friends stories
|
||||
if (storySubType == 39L) return@eachBuffer
|
||||
followPath(36) {
|
||||
eachBuffer(1) data@{
|
||||
val userId = getString(8, 1) ?: return@data
|
||||
|
Loading…
x
Reference in New Issue
Block a user