Fix media_group_id of messages automatically forwarded to discussion group.
This commit is contained in:
parent
b5f1752f26
commit
643eacf14b
1 changed files with 1 additions and 1 deletions
|
|
@ -1508,7 +1508,7 @@ void Client::JsonMessage::store(JsonValueScope *scope) const {
|
|||
<< message_->chat_id << " while storing " << source_ << " " << message_->id;
|
||||
}
|
||||
}
|
||||
if (message_->media_album_id > 0) {
|
||||
if (message_->media_album_id != 0) {
|
||||
object("media_group_id", td::to_string(message_->media_album_id));
|
||||
}
|
||||
switch (message_->content->get_id()) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue