mautrix / whatsapp

A Matrix-WhatsApp puppeting bridge
https://maunium.net/go/mautrix-whatsapp
GNU Affero General Public License v3.0
1.28k stars 173 forks source link

Bug: Relaying Messages between Two Bridges #738

Open formeo14 opened 3 days ago

formeo14 commented 3 days ago

Issue Summary: I am attempting to relay messages from WhatsApp to a Signal group using two bridge bots. However, I have encountered two significant bugs that hinder the functionality and cause unwanted behavior.

Bug 1: Message Failure Ping Loop

Bug 2: Inability to Unrelay a Specific Account

Additional Notes:

Attachments: Picture of Ping Loop Issue Start of Ping Loop Issue

Environment:

Steps to Reproduce:

  1. Configure message relaying between WhatsApp and Signal using two bridge bots.
  2. Set up the bot to send a message on failure.
  3. Attempt to relay a message that is expected to fail, such as a not available command for the bot.
  4. Observe the ping loop in the Element room.

Expected Outcome:

Actual Outcome:

formeo14 commented 3 days ago

Apologies for the confusion. I found the relevant code block for handling the 'block' command, which is used to block a user. Therefore, it appears that this functionality is an enhancement to the system. https://github.com/mautrix/go/blob/a59d4d78677fc948c0736569079454184fac2a72/bridgev2/bridgeconfig/permissions.go#L70 Also wrong repository

formeo14 commented 3 days ago

The pinging between the two bridges is still happening. Also with block!