diff --git a/map/notifications/notification_manager.cpp b/map/notifications/notification_manager.cpp index 24ad809000..6f525935d8 100644 --- a/map/notifications/notification_manager.cpp +++ b/map/notifications/notification_manager.cpp @@ -172,9 +172,13 @@ boost::optional NotificationManager::GetNotification() void NotificationManager::OnMapObjectEvent(eye::MapObject const & poi) { CHECK(m_delegate.GetUGCApi(), ()); + CHECK_GREATER(poi.GetEvents().size(), 0, ()); auto const bestType = classif().GetTypeByReadableObjectName(poi.GetBestType()); + if (poi.GetEvents().back().m_type == eye::MapObject::Event::Type::UgcSaved) + return ProcessUgcRateCandidates(poi); + m_delegate.GetUGCApi()->HasUGCForPlace(bestType, poi.GetPos(), [this, poi] (bool result) { if (!result)