mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-11-22 14:47:29 +00:00
Fix stories parsing
This commit is contained in:
parent
17fb608c34
commit
dde8fd37e3
@ -10,7 +10,7 @@ data class FeedStoryModel(
|
||||
val profileModel: User,
|
||||
var isFullyRead: Boolean,
|
||||
val timestamp: Long,
|
||||
val firstStoryModel: StoryModel,
|
||||
val firstStoryModel: StoryModel?,
|
||||
val mediaCount: Int,
|
||||
val isLive: Boolean,
|
||||
val isBestie: Boolean
|
||||
|
@ -161,7 +161,9 @@ public class StoriesService extends BaseService {
|
||||
node.getInt("media_count"),
|
||||
false,
|
||||
node.optBoolean("has_besties_media")));
|
||||
} catch (Exception e) {} // to cover promotional reels with non-long user pk's
|
||||
} catch (Exception e) {
|
||||
Log.e(TAG, "parseStoriesBody: ", e);
|
||||
} // to cover promotional reels with non-long user pk's
|
||||
}
|
||||
final JSONArray broadcasts = new JSONObject(body).getJSONArray("broadcasts");
|
||||
for (int i = 0; i < broadcasts.length(); ++i) {
|
||||
|
Loading…
Reference in New Issue
Block a user