Problem/Motivation

The activity system uses ActivitySend plugins to deliver notifications through various channels (e-mail/webpush/other). The activity_send_push module however does all its logic in the hook_activity_insert implementation. It still calls the send plugin but it doesn't actually do anything.

Steps to reproduce

Proposed resolution

Move all the logic for sending the notification from the activity insert hook into the activity send plugin.

Remaining tasks

User interface changes

API changes

Data model changes

CommentFileSizeAuthor
#2 social_pwa-3200363-2.patch11.24 KBkingdutch

Comments

Kingdutch created an issue. See original summary.

kingdutch’s picture

Status: Active » Needs review
StatusFileSize
new11.24 KB
kingdutch’s picture

Assigned: kingdutch » Unassigned

  • Kingdutch committed 6813d35 on 8.x-1.x
    Issue #3200363 by Kingdutch: Activity delivery logic should be in...
kingdutch’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.