mautrix / meta

A Matrix-Facebook Messenger and Instagram DM puppeting bridge.
GNU Affero General Public License v3.0
155 stars 11 forks source link

Fix message replies in e2e threads #57

Closed javiercr closed 4 months ago

javiercr commented 4 months ago

In an e2e encrypted conversation/thread, message replies sent through the bridge were not rendered in Messenger web/desktop (while they were rendered in the Messenger mobile app).

Debugging the service worker for messenger.com, we can compare an incoming reply message sent from the official Messenger web client (left) to one sent from mautrix/meta bridge (right):

Untitled 2

From this, we can infer that quotedMessage.remoteJid is not needed (which, btw, used to have the same value as quotedMessage.participant).