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.php +11 -1 1.8.7 → 1.8.16 View file →
@@ -2,9 +2,9 @@
2 2 /**
3 3 * @package VikBooking
4 4 * @subpackage core
5 5 * @author E4J s.r.l.
6 - * @copyright Copyright (C) 2021 E4J s.r.l. All Rights Reserved.
6 + * @copyright Copyright (C) 2026 E4J s.r.l. All Rights Reserved.
7 7 * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
8 8 * @link https://vikwp.com
9 9 */
10 10
@@ -48,5 +48,15 @@
48 48 *
49 49 * @return bool True if allowed, false otherwise.
50 50 */
51 51 public function can(string $scope, ?VBOChatContext $context = null);
52 +
53 + /**
54 + * Useful to mantain the user logged in.
55 + * Fires every time the chat is refreshed (synced)
56 + *
57 + * @param VBOChatContext|null $context The involved context, if any.
58 + *
59 + * @return void
60 + */
61 + public function keepAlive(?VBOChatContext $context = null);
52 62 }