Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bridge two Messengers #301

Open
formeo14 opened this issue Oct 27, 2024 · 0 comments
Open

Bridge two Messengers #301

formeo14 opened this issue Oct 27, 2024 · 0 comments

Comments

@formeo14
Copy link

formeo14 commented Oct 27, 2024

I am attempting to relay messages from WhatsApp to a Signal group using two bridge bots. However, I have encountered a significant limitation that hinders the functionality and causes unwanted behavior.

Enhancement Request: Add Unrelay Permission for Specific Accounts

  • Description: Currently, I am unable to selectively unrelay messages from a specific account. While I can use the command "*": relay to manage relaying, I cannot specify "*": relay, "@signal-bridgebot:domain.com": unrelay , "@manager:domain.com": unrelay to disable relaying for a particular account but maintaining the command functionality. This limitation prevents me from stopping the relaying of commands (e.g., !wa) or the entire !wa help message from appearing in the Signal group.
  • Expected Behavior: The ability to unrelay messages from a specific account or bot should be supported, allowing for more granular control over the relaying process. This enhancement would prevent commands like !signal and !wa from appearing in the other messaging app's chat when relaying messages from WhatsApp to Signal. And not only to block a whole account. If an admin account is blocked it will not answer commands.
  • Impact: This issue is particularly annoying when bridging between two messaging platforms like Signal and WhatsApp, as it leads to unwanted commands or messages appearing in the Signal or WhatsApp group.

Additional Notes:

  • The most critical enhancement is the ability to unrelay a specific account, as it would significantly improve the relaying process and prevent unwanted messages.

Environment:

  • Bridge Bots: WhatsApp Bridge Bot, Signal Bridge Bot
  • Messaging Platforms: WhatsApp, Signal, Synapse
  • Element Room: Used for relaying messages

Steps to Reproduce:

  1. Configure message relaying between WhatsApp and Signal using two bridge bots.
  2. Attempt to relay a message that includes a command (e.g., !wa).
  3. Observe the command appearing in the Signal group.

Expected Outcome:

  • The ability to unrelay a specific account should be implemented, allowing for better control over the relaying process and preventing unwanted commands from appearing in the Signal group.
  • "block": PermissionLevelBlock,
    Add a new permission. Or use block on admin for that.

Actual Outcome:

  • The command to unrelay a specific account is not recognized and blocking the account leads to not be able to command the bots, leading to unwanted messages in the Signal group.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant