public void Handle(UpdateHavePendingNotifications update) { // We want to ignore both delayed and unreceived notifications, // as they're the result of update difference on sync. if (_suppress == null) { _suppress = update.HaveDelayedNotifications && update.HaveUnreceivedNotifications; } else if (!update.HaveDelayedNotifications && !update.HaveUnreceivedNotifications) { _suppress = false; } }
public void Handle(UpdateHavePendingNotifications update) { //Logs.Logger.Info(Logs.LoggerTag.Notifications, "UpdateHavePendingNotifications: " + update.HavePendingNotifications); //_suppress = update.HavePendingNotifications; //_suppress = update.HaveUnreceivedNotifications || update.HaveDelayedNotifications; }