| @@ -18,8 +18,9 @@ | ||
| 18 | 18 | */ |
| 19 | 19 | class VBOChatUserAdmin extends VBOChatUseraware implements VBOChatNotifiable |
| 20 | 20 | { |
| 21 | 21 | use VBOChatNotificationWebpush; |
| 22 | + use VBOChatNotificationApp; | |
| 22 | 23 | |
| 23 | 24 | /** @var JUser */ |
| 24 | 25 | protected $user; |
| 25 | 26 | |
| @@ -127,6 +128,14 @@ | ||
| 127 | 128 | * |
| 128 | 129 | * @see VBOChatNotificationWebpush |
| 129 | 130 | */ |
| 130 | 131 | $this->sendWebPushNotification($message, $user); |
| 132 | + | |
| 133 | + /** | |
| 134 | + * Send notification to the mobile APP as well. | |
| 135 | + * | |
| 136 | + * @since 1.8.15 | |
| 137 | + * @see VBOChatNotificationApp | |
| 138 | + */ | |
| 139 | + $this->scheduleAppNotification($message, 'admin'); | |
| 131 | 140 | } |
| 132 | 141 | } |