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

Support replying to a specific message. #218

Open
Juliaria08 opened this issue Dec 29, 2024 · 3 comments
Open

Support replying to a specific message. #218

Juliaria08 opened this issue Dec 29, 2024 · 3 comments

Comments

@Juliaria08
Copy link

The readme states Support replying to a specific message. as a planned feature.

With the message ID option enabled, it should be possible to build a "?reply" command, which would use the behaviour described on a github issue comment and just remove the first line (which would be the "?reply MessageID" line) from the response?

@hoehermann
Copy link
Owner

Thank you for the request. The link to the explanation of how to implement it is useful.

I can do a ?reply command, though I will likely implement this feature using a sub-string search. Starting a message with "@search:" will create a reply to the conversation's most recent message containing the word "search". This worked quite well in https://github.com/hoehermann/purple-signald and feels more natural to me than handling message IDs. :)

@Juliaria08
Copy link
Author

I can do a ?reply command, though I will likely implement this feature using a sub-string search. Starting a message with "@search:" will create a reply to the conversation's most recent message containing the word "search". This worked quite well in https://github.com/hoehermann/purple-signald and feels more natural to me than handling message IDs. :)

Could the option to give it the message ID still be kept, as IIRC the plugin forgets the id of messages that were sent the last time pidgin was executed, (ie, if you restart pidgin or I guess bitlbee too? you wouldn't be able to reply to messages that were received locally before you restarted)

@hoehermann
Copy link
Owner

Noted.

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

2 participants