Fix GroupCallParticipantOrder::get_group_call_participant_order_object.

This commit is contained in:
levlam 2021-04-05 01:19:08 +03:00
parent 62a858807a
commit 9aef50a2ee

View File

@ -24,6 +24,9 @@ bool GroupCallParticipantOrder::is_valid() const {
}
string GroupCallParticipantOrder::get_group_call_participant_order_object() const {
if (!is_valid()) {
return string();
}
return PSTRING() << lpad0(to_string(active_date), 10) << lpad0(to_string(raise_hand_rating), 19)
<< lpad0(to_string(joined_date), 10);
}