This differential introduces EncryptedNotifUtilsAPI. It serves the same purpose as olmAPI or sqliteAPI. During notification generation and encryption we will use the same utilities on all platforms but their implementations will be platform specific. This diff implements it for keyserver only for now. Future diffs will implement it on native and web as well.
Details
Details
- Flow
- Test all notifs for all platforms and large notifs as well.
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
lib/types/notif-types.js | ||
---|---|---|
2 ↗ | (On Diff #41213) | Nit: you seem to have accidentally cut a line break here |
Comment Actions
I would consider registering config for keyserver to be able to use encryptedNotifUtilsAPI directly - passing it as a param trough all these functions makes it messy. In the future, we'll also want sqliteAPI to be implemented on keyserver, but this is something we can discuss in the Linear follow-up task because right now Config type is designed specifically for web & native.