mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-01 15:38:31 +00:00
Fix Featured Follow (#650)
Apparently Twitch now returns `null` for the `follower` variable inside the user object when the user isn't being followed
This commit is contained in:
parent
b1d1f98476
commit
9894e9a7cb
1 changed files with 2 additions and 2 deletions
|
@ -119,8 +119,8 @@ export default class FeaturedFollow extends Module {
|
|||
login: user.login,
|
||||
displayName: user.displayName,
|
||||
avatar: user.profileImageURL,
|
||||
following: user.self.follower.followedAt != null,
|
||||
disableNotifications: user.self.follower.disableNotifications
|
||||
following: user.self.follower?.followedAt != null,
|
||||
disableNotifications: user.self.follower?.disableNotifications
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue