matrix-docker-ansible-deploy icon indicating copy to clipboard operation
matrix-docker-ansible-deploy copied to clipboard

[mautrix-whatsapp] Provide config-bit for disabling whatsapp status broadcast

Open knoedel001 opened this issue 2 years ago • 4 comments

Hello,

I'm pretty annoyed by the WhatsApp Status Broadcast Channel created by mautrix-whatsapp. The developer added a config flag to turn status broadcast off, see https://github.com/mautrix/whatsapp/issues/166.

Unfortunately, I was not able to correctly disable that feature in any way. Even pasting the line enable_status_broadcast: false in the config file /mautrix-whatsapp/config/config.yaml directly on the server didn't change anything (yep, restarted the bridge container).

Can you please point me in the right directon on how to disable this for now and add the flag for configuration through the host_vars?

knoedel001 avatar Sep 12 '21 17:09 knoedel001

I don't use the WhatsApp bridge but the proper way to fix it should be to add

matrix_mautrix_whatsapp_configuration_extension_yaml: |
  bridge:
    enable_status_broadcast: false

to your vars.yml file and then rerun the setup-all and start tags.

Also note the comment above that config option "Disabling this won't affect already created status broadcast rooms". So you probably need to leave the room manually after you turn this off.

aaronraimist avatar Sep 12 '21 18:09 aaronraimist

Thank you for the hint. This produces exactly the same configuration entry in mautrix-whatsapp's config.yaml which I already tried, but the status updates keep on recreating the channel and notify on every status change. Maybe there is a bug on the mautrix-side, I will create an issue for mautrix-whatsapp.

knoedel001 avatar Sep 13 '21 10:09 knoedel001

Weird, this exact code works for me.

ddogfoodd avatar Feb 23 '22 20:02 ddogfoodd

The issue still exists, both on bridge v0.30 and latest / master.

etkecc avatar Apr 14 '22 11:04 etkecc