spantaleev / matrix-docker-ansible-deploy

🐳 Matrix (An open network for secure, decentralized communication) server setup using Ansible and Docker
GNU Affero General Public License v3.0
4.92k stars 1.05k forks source link

connecting bridges such as whatsapp #395

Closed aneesimran closed 4 years ago

aneesimran commented 4 years ago

Hi,

I have got riot running on my domain.

Now I am unsure on how to connect the whatsapp bridge, the only change i made was in /roles/matrix-bridge-mautrix-whatsapp/defaults/main.yml

and the change was by making matrix_mautrix_whatsapp_enabled: true

as stated by a guide on matrix.org

have reinstalling and restarting my matrix server, i am not sure what is needed to do next.

Could someone point me in the right direction?

Thanks!

spantaleev commented 4 years ago

You never need to edit anything in the roles/ directory.

All changes (such as matrix_mautrix_whatsapp_enabled: true) are meant to be made in your own inventory/host_vars/matrix.DOMAIN/vars.yml file.

We have a guide about the Whatsapp bridge in the docs/ directory - Setting up Mautrix Whatsapp (optional)

aneesimran commented 4 years ago

You never need to edit anything in the roles/ directory.

All changes (such as matrix_mautrix_whatsapp_enabled: true) are meant to be made in your own inventory/host_vars/matrix.DOMAIN/vars.yml file.

We have a guide about the Whatsapp bridge in the docs/ directory - Setting up Mautrix Whatsapp (optional)

Hi,

Thanks for referring me to the guide, I have followed the instructions, but when typing in riot @whatsappbot:whatsppmatrix.cf

Nothing comes up and i cant manually add as it says user does not exist.

spantaleev commented 4 years ago

After adding matrix_mautrix_whatsapp_enabled: true to the correct file, have you re-ran the playbook and restarted services?

ansible-playbok ...... --tags=setup-all,start

It's only after this that you'd be able to message the bot.

aneesimran commented 4 years ago

After adding matrix_mautrix_whatsapp_enabled: true to the correct file, have you re-ran the playbook and restarted services?

ansible-playbok ...... --tags=setup-all,start

It's only after this that you'd be able to message the bot.

Yep, I have rerun it again and double checked

aneesimran commented 4 years ago

I have tried even facebook bridge even still I am not getting the bot accounts appearing

aneesimran commented 4 years ago

After adding matrix_mautrix_whatsapp_enabled: true to the correct file, have you re-ran the playbook and restarted services?

ansible-playbok ...... --tags=setup-all,start

It's only after this that you'd be able to message the bot.

this is the error i get

`Unable to find profiles for the Matrix IDs listed below - would you like to invite them anyway?

@whatsappbot:whatsppmatrix.cf: User @whatsappbot:whatsppmatrix.cf does not exist`

spantaleev commented 4 years ago

Try inviting them anyway.

aneesimran commented 4 years ago

Try inviting them anyway.

I have and this happens

Annotation 2020-03-09 092802

spantaleev commented 4 years ago

Got if fixed?