mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Added emoji to poll preview.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user