Pleroma v1.1.9-10-g42f76306+dev Pleroma.Web.Push.Impl View Source

The module represents implementation push web notification

Link to this section Summary

Link to this section Functions

Link to this function

fetch_subsriptions(user_id)

View Source

Gets user subscriptions

Link to this function

format_body(arg1, actor, arg3)

View Source
Link to this function

perform(notif)

View Source
perform(Pleroma.Notification.t()) :: [any()] | :error

Performs sending notifications for user subscriptions

Link to this function

push_message(body, sub, api_key, subscription)

View Source

Push message to web