Expand description
Action forwarding to connected WebSocket clients
This module provides functionality to forward actions to users connected via WebSocket. It’s used for real-time notification of new actions (messages, reactions, etc.).
§Usage
forward_action: Called after an action is created or received to notify connected users
Structs§
- Forward
Action Params - Parameters for forwarding an action
- Forward
Result - Result of forwarding an action
Functions§
- forward_
action - Forward an action to WebSocket clients
- forward_
inbound_ action - Forward an inbound action (received from federation) to WebSocket clients
- forward_
outbound_ action - Forward an outbound action (created by local user) to WebSocket clients
- get_
push_ setting_ key - Get the push notification setting key for an action type
- should_
push_ notify - Check if an action type should trigger push notifications