Jump to content

frankrossouw

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by frankrossouw

  1. Hi 

     

    We're writing a little plugin that sends notifications.  The problem is that the plugin now spams notifications and does not take heed of the CanSendNotification. I get 40 of the same message appearing.

     

     

        public override void PluginDataCheck()
        {
           if (CanSendNotifications)
           {
               SendNotificationToAllDevices("bLAHbLAH", NotificationPriority.CRITICAL);
           }
        }

     

    Am I misunderstanding what the cansendnotifications property means?  I am under the impression that this property will switch to false after I send the first time? And only after viewing the message will it revert back to true?

     

    Kind Regards

    Frank

     

×
×
  • Create New...