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
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | activity_send_push_process-3414850-1.patch | 721 bytes | gsa |
Issue fork social_pwa-3414850
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
gsa commentedProviding a patch replacing
$create_action->create($activity);with$create_action->process($activity);in activity_send_push.module.Comment #4
ribelComment #5
ribelComment #9
ribel