Added emoji to poll preview.

This commit is contained in:
23rd 2023-10-12 03:50:59 +03:00
parent 3e11d44cac
commit bee0534052
1 changed files with 5 additions and 1 deletions

View File

@ -1719,7 +1719,11 @@ PollData *MediaPoll::poll() 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 {