1
0
mirror of git://jb55.com/damus synced 2024-09-30 00:40:45 +00:00
damus/DamusNotificationService
Daniel D’Aquino e981ae247e Mute: Add user_keypair to MutelistManager
The user keypair is necessary to determine whether or not a given event
is muted or not. Previously, the user keypair had to be passed on each
function call as an optional parameter, and word filtering would not
work unless the caller remembered to add the keypair parameter.

All usages of MutelistManager functions indicate that the desired base
keypair is always the same as the DamusState's keypair that owns the
MutelistManager. Therefore, it is simpler and less error prone to simply
pass the keypair to MutelistManager during its initialization.

Signed-off-by: Daniel D’Aquino <daniel@daquino.me>
Signed-off-by: William Casarin <jb55@jb55.com>
2024-05-07 18:05:45 -07:00
..
DamusNotificationService.entitlements Add experimental push notification support 2023-11-20 10:32:33 -08:00
Info.plist Add experimental push notification support 2023-11-20 10:32:33 -08:00
NotificationExtensionState.swift Mute: Add user_keypair to MutelistManager 2024-05-07 18:05:45 -07:00
NotificationFormatter.swift ndb/txn: make transactions failable 2024-01-10 14:27:02 -08:00
NotificationService.swift ndb/txn: make transactions failable 2024-01-10 14:27:02 -08:00
PrivacyInfo.xcprivacy Fill up missing Privacy report information for App submission 2024-05-06 11:21:35 -07:00