Web push notifications are not working on activity insert

Created on 15 January 2024, 10 months ago
Updated 29 February 2024, 9 months ago

Problem/Motivation

After enabling and configuring Social PWA module push notifications are working from the test page: /admin/config/opensocial/pwa/notification.
But it doesn't work for on activity insert actions (for example after post on another user stream).

Proposed resolution

Replace $create_action->create($activity); with $create_action->process($activity); in the <code>activity_send_push_activity_insert() and remove deprecated code in PushActivitySend.php

πŸ› Bug report
Status

Fixed

Version

2.1

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine ribel πŸ‡ΊπŸ‡¦Lviv

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024