Fix auto_attach_message.

This commit is contained in:
levlam 2023-06-07 13:14:24 +03:00
parent ea217b10c1
commit dec814ce34

View File

@ -196,6 +196,7 @@ OrderedMessages::AttachInfo OrderedMessages::auto_attach_message(MessageId messa
CHECK(!next_message->have_previous_);
LOG(INFO) << "Attach " << message_id << " to the next " << next_message->message_id_ << " from " << source;
auto have_previous = next_message->have_previous_;
next_message->have_previous_ = true;
return {have_previous, true};
}
}