Page MenuHomePhabricator

Update useProcessDMOperation to enable sending E2EE notifs
AbandonedPublic

Authored by marcin on Aug 12 2024, 6:56 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 27, 1:41 AM
Unknown Object (File)
Fri, Dec 27, 1:39 AM
Unknown Object (File)
Sat, Dec 21, 2:57 AM
Unknown Object (File)
Fri, Dec 20, 9:08 PM
Unknown Object (File)
Fri, Dec 20, 5:14 PM
Unknown Object (File)
Mon, Dec 16, 5:10 AM
Unknown Object (File)
Nov 27 2024, 8:19 AM
Unknown Object (File)
Nov 14 2024, 1:02 PM
Subscribers

Details

Reviewers
kamil
tomek
Summary

This differential modifies useProcessDmOperation to convert returned rawMessageInfos into MessageData and then send them as notifs.

Test Plan
  1. Apply this patch: https://gist.github.com/marcinwasowicz/4171e0ff3c46fa4744bcdcd75de44d33. It is a small patch that updates chat-input-bar.react.js on web to use useProcessDMOperationon various dm operation types when sending text message.
  2. Uncomment each operation one by one and send text message.
  3. Ensure that the native recipient sees both text notification and the e2ee notification consistent with dm operation.
NOTE: for some dm operations it is necessary to comment some code in relevant spec.js file to make it work. I didn't include those changes since it would bloat testing patch making it unreadable.

Diff Detail

Repository
rCOMM Comm
Branch
marcin/eng-8284
Lint
No Lint Coverage
Unit
No Test Coverage