mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Fix sponsored messages badge with BottomInfo.
This commit is contained in:
@@ -84,17 +84,6 @@ void HistoryMessageVia::resize(int32 availw) const {
|
||||
}
|
||||
}
|
||||
|
||||
HistoryMessageSponsored::HistoryMessageSponsored() {
|
||||
text.setText(
|
||||
st::msgDateTextStyle,
|
||||
tr::lng_sponsored(tr::now),
|
||||
Ui::NameTextOptions());
|
||||
}
|
||||
|
||||
int HistoryMessageSponsored::maxWidth() const {
|
||||
return text.maxWidth();
|
||||
}
|
||||
|
||||
HiddenSenderInfo::HiddenSenderInfo(const QString &name, bool external)
|
||||
: name(name)
|
||||
, colorPeerId(Data::FakePeerIdForJustName(name))
|
||||
|
Reference in New Issue
Block a user