mirror of
https://github.com/humhub/humhub.git
synced 2025-01-16 21:58:17 +01:00
Enh: Added BaseNotification:priority
to mark high priority notifications
This commit is contained in:
parent
01c2d2f07a
commit
497146a49c
@ -41,6 +41,7 @@ Important note for LDAP users: There is a new setting "ID Attribute" which shoul
|
||||
- Enh: Added `humhub:notification:updateCount` js event
|
||||
- Enh: Show space administrators and moderators in member snippet
|
||||
- Fix: `humhub\modules\live\Module::getLegitimateContentContainerIds` behaviour with friendship module enabled
|
||||
- Enh: Added `BaseNotification:priority` to mark high priority notifications
|
||||
|
||||
1.2.2 (August 2, 2017)
|
||||
--------------------------------
|
||||
|
@ -66,6 +66,17 @@ abstract class BaseNotification extends SocialActivity
|
||||
*/
|
||||
public $recordClass = Notification::class;
|
||||
|
||||
/**
|
||||
* Priority flag, if set to true, this Notification type will be marked as high priority.
|
||||
* This can be used by a given BaseTarget while handling a Notification.
|
||||
*
|
||||
* A MobileTargetProvider for example could use this flag for Android devices to wake up the device out of doze mode.
|
||||
*
|
||||
* @var bool if set to true marks this notification type as high priority.
|
||||
* @since 1.2.3
|
||||
*/
|
||||
public $priority = false;
|
||||
|
||||
/**
|
||||
* Returns the notification category instance. If no category class is set (default) the default notification settings
|
||||
* can't be overwritten.
|
||||
|
Loading…
x
Reference in New Issue
Block a user