EventsToNotificationUpdatesImpl

class EventsToNotificationUpdatesImpl(roomService: RoomService, evaluatePushRules: EvaluatePushRules, eventContentSerializerMappings: EventContentSerializerMappings, userInfo: UserInfo, clock: Clock) : EventsToNotificationUpdates

Constructors

Link copied to clipboard
constructor(roomService: RoomService, evaluatePushRules: EvaluatePushRules, eventContentSerializerMappings: EventContentSerializerMappings, userInfo: UserInfo, clock: Clock)

Functions

Link copied to clipboard
open suspend operator override fun invoke(roomId: RoomId, eventFlow: Flow<ClientEvent<*>>, pushRules: List<PushRule>, existingNotifications: Map<String, String>, removeStale: Boolean): List<StoredNotificationUpdate>

It is expected to call this in reversed (new to old) timeline order.