mautrix / meta

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

bug(instagram): replies from IG don't show on mobile #39

Closed phorcys420 closed 8 months ago

phorcys420 commented 8 months ago

The incoming replies (from IG) don't display properly on mobile (Element Desktop vs Element Mobile).

While this misinterpretation might be related to a bug on Element Mobile, this does not happen with the other Mautrix bridges (namely Signal and Telegram). As you can see with the following snippets, the raw contents of an incoming message differ quite a lot beteen the Telegram bridge and the IG bridge, I believe this could be the cause of the issue.

Source of an incoming message (mautrix-meta Instagram) ```json { "room_id": "![...]:[...]", "type": "m.room.message", "content": { "body": "reply from IG", "m.mentions": { "user_ids": [ "@phorcys:[...]" ] }, "m.relates_to": { "m.in_reply_to": { "event_id": "[...]" } }, "msgtype": "m.text" } } ```
Source of an incoming message (mautrix-telegram) ```json { "room_id": "![...]:[...]", "type": "m.room.message", "content": { "msgtype": "m.text", "body": "> original message\n\nreply", "m.relates_to": { "m.in_reply_to": { "event_id": "[...]" } }, "format": "org.matrix.custom.html", "formatted_body": "
In reply to User (TG)
original message
reply", "fi.mau.telegram.source": { "space": [...], "chat_id": [...], "peer_type": "user", "id": [...] } } } ```
tulir commented 8 months ago

Element Android never supported rendering replies correctly. Reply fallbacks are deprecated so they won't be added to new bridges anymore (and will eventually be removed in old bridges too).

SchildiChat or Element X (or SchildiChat Next) is recommended on Android instead of the legacy Element Android client

phorcys420 commented 8 months ago

Alright, thanks for the heads up.

p1gp1g commented 5 months ago

Does anyone knows if there is an issue related to this on element android repo ?