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

Bot responds to PM even if message sent in group #2

Open
YouTubeATP opened this issue Jan 12, 2021 · 12 comments
Open

Bot responds to PM even if message sent in group #2

YouTubeATP opened this issue Jan 12, 2021 · 12 comments

Comments

@YouTubeATP
Copy link

Describe the bug
The bot responds in private messages even if command is sent in group

To Reproduce
Steps to reproduce the behavior:

  1. Send message to bot in group
  2. Bot responds in private message

Expected behavior
Bot sends response to group

@aaronetz
Copy link
Owner

aaronetz commented Jan 12, 2021

My guess would be that this is related to groups v2. These didn't exist back when I implemented the bot. I'm not able to look into this right now but I'm happy to merge a fix if you have one! Otherwise I'll get to it at some point.

@YouTubeATP
Copy link
Author

I would love to but my Java skills are just very basic.
Looking forward and thanks

@YouTubeATP
Copy link
Author

Yes, this is related to groups v2 as the bot replies just fine when in a "legacy group".

@APratham
Copy link

@YouTubeATP Can you please tell what are legacy groups?

@YouTubeATP
Copy link
Author

YouTubeATP commented Jan 14, 2021

@YouTubeATP Can you please tell what are legacy groups?

They are basically the groups back when Signal was in a older version. These groups did not support group admins and @mentions and more, while the new ones do.
In order to create a legacy group nowadays there must be at least one member who hasn't updated Signal to a version that supports the new groups

@APratham
Copy link

Thank you so much for the help!

@Giszmo
Copy link

Giszmo commented Jan 25, 2021

I'd need a signal bot for non-legacy-groups. I offer $100 US sent in BTC for whoever fixes this issue.

Independent of this offer, @aaronetz would you know if there was a better Signal bot around, without the quite severe limitations mentioned in the Readme.md (and found here)?

@YouTubeATP
Copy link
Author

I'd need a signal bot for non-legacy-groups. I offer $100 in BTC for whoever fixes this issue.

Independent of this offer, @aaronetz would you know if there was a better Signal bot around, without the quite severe limitations mentioned in the Readme.md (and found here)?

Bro that's 3,170,780.00 USD. Are you sure?

@Giszmo
Copy link

Giszmo commented Jan 26, 2021

I'd need a signal bot for non-legacy-groups. I offer $100 in BTC for whoever fixes this issue.
Independent of this offer, @aaronetz would you know if there was a better Signal bot around, without the quite severe limitations mentioned in the Readme.md (and found here)?

Bro that's 3,170,780.00 USD. Are you sure?

$100 is $100. The $ sign is being used for many currencies, the USD being the highest valued one to my knowledge. I have not seen anyone using your interpretation of "$" but made it more clear above nevertheless 😀.

@YouTubeATP
Copy link
Author

I'd need a signal bot for non-legacy-groups. I offer $100 in BTC for whoever fixes this issue.
Independent of this offer, @aaronetz would you know if there was a better Signal bot around, without the quite severe limitations mentioned in the Readme.md (and found here)?

Bro that's 3,170,780.00 USD. Are you sure?

$100 is $100. The $ sign is being used for many currencies, the USD being the highest valued one to my knowledge. I have not seen anyone using your interpretation of "$" but made it more clear above nevertheless 😀.

Well, I misunderstood your statement, guess I was not being careful.

@aaronetz
Copy link
Owner

Just to keep you posted, I brought the code base up to date with the latest signal library, but supporting new groups would be a significant amount of work (they are much more complex than legacy groups) and I presently don't have the time to work on this. But I would definitely welcome anyone who wants to give it a shot.

@aaronetz
Copy link
Owner

Anyone who wants to give it a shot, you can look at the excellent https://github.com/AsamK/signal-cli for reference. It's a command line interface for Signal and it has been updated to support the new Groups.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants