Improve fatal error message on app downgrade.

This commit is contained in:
levlam 2024-01-10 21:20:17 +03:00
parent 17a412a04a
commit 5e0301db45

View File

@ -362,7 +362,8 @@ class NotificationTypePushMessage final : public NotificationType {
default:
break;
}
UNREACHABLE();
LOG(FATAL) << "Have unsupported push notification key " << key;
return nullptr;
}
td_api::object_ptr<td_api::NotificationType> get_notification_type_object(Td *td, DialogId) const final {