fix: opening a usercard from /live no longer makes failing ivr API call (#5959)
Fixes #5878
This commit is contained in:
@@ -22,6 +22,7 @@
|
|||||||
- Bugfix: Fixed announcements not showing up in mentions tab. (#5857)
|
- Bugfix: Fixed announcements not showing up in mentions tab. (#5857)
|
||||||
- Bugfix: Fixed the reply button showing for inline whispers and announcements. (#5863)
|
- Bugfix: Fixed the reply button showing for inline whispers and announcements. (#5863)
|
||||||
- Bugfix: Fixed suspicious user treatment update messages not being searchable. (#5865)
|
- Bugfix: Fixed suspicious user treatment update messages not being searchable. (#5865)
|
||||||
|
- Bugfix: Fixed user info popup's opened from `/live` making some network requests that always failed. (#5959)
|
||||||
- Bugfix: Ensure miniaudio backend exits even if it doesn't exit cleanly. (#5896)
|
- Bugfix: Ensure miniaudio backend exits even if it doesn't exit cleanly. (#5896)
|
||||||
- Bugfix: Fixed search in emote popup not always working correctly. (#5946)
|
- Bugfix: Fixed search in emote popup not always working correctly. (#5946)
|
||||||
- Bugfix: Fixed channel point redemptions with messages not showing up if PubSub is disconnected. (#5948)
|
- Bugfix: Fixed channel point redemptions with messages not showing up if PubSub is disconnected. (#5948)
|
||||||
|
|||||||
@@ -945,6 +945,10 @@ void UserInfoPopup::updateUserData()
|
|||||||
this->ui_.block->setEnabled(true);
|
this->ui_.block->setEnabled(true);
|
||||||
this->ui_.ignoreHighlights->setChecked(isIgnoringHighlights);
|
this->ui_.ignoreHighlights->setChecked(isIgnoringHighlights);
|
||||||
|
|
||||||
|
auto type = this->underlyingChannel_->getType();
|
||||||
|
|
||||||
|
if (type == Channel::Type::Twitch)
|
||||||
|
{
|
||||||
// get followage and subage
|
// get followage and subage
|
||||||
getIvr()->getSubage(
|
getIvr()->getSubage(
|
||||||
this->userName_, this->underlyingChannel_->getName(),
|
this->userName_, this->underlyingChannel_->getName(),
|
||||||
@@ -958,7 +962,8 @@ void UserInfoPopup::updateUserData()
|
|||||||
{
|
{
|
||||||
QDateTime followedAt = QDateTime::fromString(
|
QDateTime followedAt = QDateTime::fromString(
|
||||||
subageInfo.followingSince, Qt::ISODate);
|
subageInfo.followingSince, Qt::ISODate);
|
||||||
QString followingSince = followedAt.toString("yyyy-MM-dd");
|
QString followingSince =
|
||||||
|
followedAt.toString("yyyy-MM-dd");
|
||||||
this->ui_.followageLabel->setText("❤ Following since " +
|
this->ui_.followageLabel->setText("❤ Following since " +
|
||||||
followingSince);
|
followingSince);
|
||||||
}
|
}
|
||||||
@@ -983,6 +988,7 @@ void UserInfoPopup::updateUserData()
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
[] {});
|
[] {});
|
||||||
|
}
|
||||||
|
|
||||||
// get pronouns
|
// get pronouns
|
||||||
if (getSettings()->showPronouns)
|
if (getSettings()->showPronouns)
|
||||||
|
|||||||
Reference in New Issue
Block a user