Improve logging.

This commit is contained in:
levlam 2021-03-18 23:18:16 +03:00
parent 0a23e2bd7b
commit 93ae3dc2f6

View File

@ -95,7 +95,8 @@ bool GroupCallParticipant::get_is_hand_raised() const {
void GroupCallParticipant::update_from(const GroupCallParticipant &old_participant) {
CHECK(!old_participant.is_min);
if (joined_date < old_participant.joined_date) {
LOG(ERROR) << "Join date decreased from " << old_participant.joined_date << " to " << joined_date;
LOG(ERROR) << "Join date of " << old_participant.dialog_id << " decreased from " << old_participant.joined_date
<< " to " << joined_date;
joined_date = old_participant.joined_date;
}
if (active_date < old_participant.active_date) {