mautrix / imessage

A Matrix-iMessage puppeting bridge
https://go.mau.fi/mautrix-imessage/
GNU Affero General Public License v3.0
345 stars 37 forks source link

Unable to send messages to iMessage client #2

Closed chrispruitt closed 3 years ago

chrispruitt commented 3 years ago

Firstly, this project is awesome! Thank you for providing this bridge!

After setting this bridge up, all my iMessage came through properly (except messages sent by my apple id). However, when I tried to reply through Element.io to my home server (i.e. send a message to the iMessage application), the bridge did not seem to pick up the message. I did not see anything in the logs.

Also, (maybe this is related and caused by a configuration issue) but none of my personal iMessages were backfilled into my home server. Nor can I send a message through the iMessage client (from my own apple id to a random iPhone user) and have it show up on my home server. None of my sent iMessages were backfilled into my home server either. Only messages sent from other apple iMessage users.

Any thoughts on this?

EDIT: Found this in the logs. I missed it before.

[Mar 18, 2021 09:41:44] [Portal/iMessage;-;+1000000/DEBUG] Dropping own message in iMessage;-;+10000000 as double puppeting is not initialized

So, my question now is, how can i enable double puppeting?

tulir commented 3 years ago

The synapse or wsproxy logs will probably contain errors. https://docs.mau.fi/bridges/general/troubleshooting.html

chrispruitt commented 3 years ago

It looks like double puppeting was not enabled. Is there a way to enable it?

Yumekui commented 3 years ago

I use the matrix-synapse-shared-secret-auth module as described here.

chrispruitt commented 3 years ago

ah thanks for the tip @Yumekui! thats what i was missing