Page MenuHomePhabricator

Update useProcessDMOperation to enable sending E2EE notifs
AbandonedPublic

Authored by marcin on Aug 12 2024, 6:56 AM.
Tags
None
Referenced Files
F3506548: D13051.diff
Fri, Dec 20, 5:14 PM
Unknown Object (File)
Mon, Dec 16, 5:10 AM
Unknown Object (File)
Wed, Nov 27, 8:19 AM
Unknown Object (File)
Nov 14 2024, 1:02 PM
Unknown Object (File)
Nov 14 2024, 12:59 PM
Unknown Object (File)
Oct 22 2024, 10:44 AM
Unknown Object (File)
Oct 22 2024, 10:19 AM
Unknown Object (File)
Oct 17 2024, 6:39 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