1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-12 11:44:08 +02:00

[ticket/17321] Add versioning to push worker to force updates

PHPBB-17321
This commit is contained in:
Marc Alexander
2024-06-02 21:35:16 +02:00
parent a7b4f035a4
commit d499850532
3 changed files with 23 additions and 1 deletions

View File

@@ -210,6 +210,7 @@ class webpush extends messenger_base implements extended_method_interface
$data = [
'item_id' => $notification->item_id,
'type_id' => $notification->notification_type_id,
'version' => $this->config['assets_version'],
];
$json_data = json_encode($data);