PluginProbe
VikBooking Hotel Booking Engine & PMS / 1.8.16
VikBooking Hotel Booking Engine & PMS v1.8.16
1.8.16 1.8.15 1.8.14 1.8.13 1.8.12 1.8.11 1.8.10 1.8.9 1.8.6 1.8.7 1.8.8 trunk 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.7 1.6.8 1.6.9 1.7.0 1.7.1 1.7.2 All 37 releases
← All changes | admin/helpers/src/chat/user/operator.php +10 -1 1.8.9 → 1.8.16 View file →
@@ -18,8 +18,9 @@
18 18 */
19 19 class VBOChatUserOperator extends VBOChatUseraware implements VBOChatNotifiable
20 20 {
21 21 use VBOChatNotificationEmail;
22 + use VBOChatNotificationApp;
22 23
23 24 /** @var object */
24 25 protected $operator;
25 26
@@ -109,10 +110,18 @@
109 110 if (!empty($this->operator->email)) {
110 111 /**
111 112 * If the e-mail address exists, send a notification to this operator.
112 113 *
113 - * @see VBOChatNotificationWebpush
114 + * @see VBOChatNotificationEmail
114 115 */
115 116 $this->sendEmailNotification($message, $this->operator->email, $this->getName());
117 +
118 + /**
119 + * Send notification to the mobile APP as well.
120 + *
121 + * @since 1.8.15
122 + * @see VBOChatNotificationApp
123 + */
124 + $this->scheduleAppNotification($message, $this->operator->email);
116 125 }
117 126 }
118 127 }