mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Display reply background emoji.
This commit is contained in:
@@ -627,9 +627,9 @@ bool PeerData::changeColorIndex(
|
||||
: clearColorIndex();
|
||||
}
|
||||
|
||||
bool PeerData::changeBackgroundEmoji(
|
||||
bool PeerData::changeBackgroundEmojiId(
|
||||
const tl::conditional<MTPlong> &cloudBackgroundEmoji) {
|
||||
return changeBackgroundEmoji(cloudBackgroundEmoji
|
||||
return changeBackgroundEmojiId(cloudBackgroundEmoji
|
||||
? cloudBackgroundEmoji->v
|
||||
: DocumentId());
|
||||
}
|
||||
@@ -869,7 +869,11 @@ bool PeerData::clearColorIndex() {
|
||||
return true;
|
||||
}
|
||||
|
||||
bool PeerData::changeBackgroundEmoji(uint64 id) {
|
||||
DocumentId PeerData::backgroundEmojiId() const {
|
||||
return _backgroundEmojiId;
|
||||
}
|
||||
|
||||
bool PeerData::changeBackgroundEmojiId(DocumentId id) {
|
||||
if (_backgroundEmojiId == id) {
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user