mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-06 15:13:57 +02:00
Added emoji to poll preview.
This commit is contained in:
parent
3e11d44cac
commit
bee0534052
1 changed files with 5 additions and 1 deletions
|
@ -1719,7 +1719,11 @@ PollData *MediaPoll::poll() const {
|
||||||
}
|
}
|
||||||
|
|
||||||
TextWithEntities MediaPoll::notificationText() const {
|
TextWithEntities MediaPoll::notificationText() const {
|
||||||
return Ui::Text::Colorized(_poll->question);
|
return TextWithEntities()
|
||||||
|
.append(QChar(0xD83D))
|
||||||
|
.append(QChar(0xDCCA))
|
||||||
|
.append(QChar(' '))
|
||||||
|
.append(Ui::Text::Colorized(_poll->question));
|
||||||
}
|
}
|
||||||
|
|
||||||
QString MediaPoll::pinnedTextSubstring() const {
|
QString MediaPoll::pinnedTextSubstring() const {
|
||||||
|
|
Loading…
Add table
Reference in a new issue