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

Fix channel mentions and add option to disable channel mentions as IRC NOTICEs #418

Merged
merged 2 commits into from
Mar 19, 2021

Conversation

hloeung
Copy link
Collaborator

@hloeung hloeung commented Mar 15, 2021

Fixes #416

We fix it so only if the message contains channel mentions @{here,channel,all} rather than if the parent message:

|21:37 -hloeung:#haw-test- @here Testing again [@@4f7tqoranpgd9bb98itfxt87qw]
|21:37 <hloeung> This time replying, which shouldn't be an IRC NOTICE message but rather PRIVMSG (re @hloeung: @here Testing again) [↪@@4f7tqoranpgd9bb98itfxt87qw]

Also adds an option to allow disabling channel wide mentions. When enabled:

|20:40 <hloeung> @here test [@@18qrfrwa9prk7y9hew49dtahio]

When disabled, which is the current behavior:

|20:41 -hloeung:#haw-test- @here test [@@18qrfrwa9prk7y9hew49dtahio]

@hloeung hloeung changed the title Channel mentions Allow overriding default channel wide mentions as IRC NOTICEs Mar 15, 2021
@hloeung hloeung force-pushed the channel-mentions branch 2 times, most recently from c3c51fc to a75d1b6 Compare March 15, 2021 10:41
@hloeung hloeung changed the title Allow overriding default channel wide mentions as IRC NOTICEs Fix channel mentions and add option to disable channel mentions as IRC NOTICEs Mar 15, 2021
@42wim 42wim added this to the 0.24.0 milestone Mar 19, 2021
@42wim 42wim merged commit 1251960 into 42wim:master Mar 19, 2021
@42wim
Copy link
Owner

42wim commented Mar 19, 2021

👍

@hloeung hloeung deleted the channel-mentions branch March 23, 2021 05:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

@here messages and threads are NOTICEs and not PRIVMSGs
2 participants