Improve fatal error message on app downgrade.
This commit is contained in:
parent
17a412a04a
commit
5e0301db45
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user