diff --git a/Telegram/SourceFiles/history/history_inner_widget.cpp b/Telegram/SourceFiles/history/history_inner_widget.cpp index 21cc22e451175..fe91dbf4cad5e 100644 --- a/Telegram/SourceFiles/history/history_inner_widget.cpp +++ b/Telegram/SourceFiles/history/history_inner_widget.cpp @@ -4515,7 +4515,6 @@ void HistoryInner::reportAsGroup(FullMsgId itemId) { return i->fullId().msg; }) | ranges::to_vector) : std::vector{ 1, itemId.msg }; - const auto peer = item->history()->peer; ShowReportMessageBox(_controller->uiShow(), _peer, ids, {}); } } diff --git a/Telegram/SourceFiles/payments/payments_non_panel_process.cpp b/Telegram/SourceFiles/payments/payments_non_panel_process.cpp index 1184e97eb0994..3f269a5341108 100644 --- a/Telegram/SourceFiles/payments/payments_non_panel_process.cpp +++ b/Telegram/SourceFiles/payments/payments_non_panel_process.cpp @@ -107,7 +107,7 @@ void ProcessCreditsReceipt( const auto entry = Data::CreditsHistoryEntry{ .id = receipt->id, .title = receipt->title, - .description = receipt->description, + .description = { receipt->description }, .date = base::unixtime::parse(receipt->date), .photoId = receipt->photo ? receipt->photo->id : 0, .credits = receipt->credits, diff --git a/Telegram/SourceFiles/settings/settings_credits_graphics.cpp b/Telegram/SourceFiles/settings/settings_credits_graphics.cpp index 5e22af9d2cdbe..407f22d169fca 100644 --- a/Telegram/SourceFiles/settings/settings_credits_graphics.cpp +++ b/Telegram/SourceFiles/settings/settings_credits_graphics.cpp @@ -1390,7 +1390,7 @@ void CreditsPrizeBox( Data::CreditsHistoryEntry{ .id = data.slug, .title = QString(), - .description = QString(), + .description = TextWithEntities(), .date = base::unixtime::parse(date), .credits = uint64(data.count), .barePeerId = data.channel diff --git a/Telegram/lib_ui b/Telegram/lib_ui index a4103f097af09..579fe7df27509 160000 --- a/Telegram/lib_ui +++ b/Telegram/lib_ui @@ -1 +1 @@ -Subproject commit a4103f097af0999d0d020016d6afcb770af726b1 +Subproject commit 579fe7df27509ebfd14397375ad1e40876f873f8