Skip to content

Commit

Permalink
Version 5.6: Fix builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
john-preston committed Oct 5, 2024
1 parent 1f21af0 commit 8310230
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion Telegram/SourceFiles/history/history_inner_widget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4515,7 +4515,6 @@ void HistoryInner::reportAsGroup(FullMsgId itemId) {
return i->fullId().msg;
}) | ranges::to_vector)
: std::vector<MsgId>{ 1, itemId.msg };
const auto peer = item->history()->peer;
ShowReportMessageBox(_controller->uiShow(), _peer, ids, {});
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Telegram/lib_ui

0 comments on commit 8310230

Please sign in to comment.