Improve ack state.
This commit is contained in:
parent
53b48b4ee8
commit
8b05c4f3ec
@ -1079,7 +1079,7 @@ void Session::on_message_info(uint64 message_id, int32 state, uint64 answer_mess
|
|||||||
}
|
}
|
||||||
// fallthrough
|
// fallthrough
|
||||||
case 4:
|
case 4:
|
||||||
on_message_ack_impl(message_id, 2);
|
on_message_ack_impl(message_id, answer_message_id == 0 ? 4 : 2);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
LOG(ERROR) << "Invalid message info " << tag("state", state);
|
LOG(ERROR) << "Invalid message info " << tag("state", state);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user