mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
FullMsgId rely on PeerId instead of ChannelId.
This commit is contained in:
@@ -602,7 +602,9 @@ void ChatBackground::checkUploadWallPaper() {
|
||||
|
||||
const auto ready = PrepareWallPaper(_session->mainDcId(), _original);
|
||||
const auto documentId = ready.id;
|
||||
_wallPaperUploadId = FullMsgId(0, _session->data().nextLocalMessageId());
|
||||
_wallPaperUploadId = FullMsgId(
|
||||
_session->userPeerId(),
|
||||
_session->data().nextLocalMessageId());
|
||||
_session->uploader().uploadMedia(_wallPaperUploadId, ready);
|
||||
if (_wallPaperUploadLifetime) {
|
||||
return;
|
||||
|
Reference in New Issue
Block a user