-
-
Notifications
You must be signed in to change notification settings - Fork 179
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
prof_pre_chat_message_display
does not replace sent messages
#1917
Comments
H3rnand3zzz
added a commit
to H3rnand3zzz/profanity
that referenced
this issue
Nov 9, 2023
Ensure consistent invocation of `plugins_pre_chat_message_display` for outgoing messages. Fix profanity-im#1917
H3rnand3zzz
added a commit
to H3rnand3zzz/profanity
that referenced
this issue
Nov 10, 2023
Ensure consistent invocation of `plugins_pre_chat_message_display` for outgoing messages. Fix profanity-im#1917
H3rnand3zzz
added a commit
to H3rnand3zzz/profanity
that referenced
this issue
Nov 11, 2023
Ensure consistent invocation of `plugins_pre_chat_message_display` for outgoing messages. Fix profanity-im#1917
H3rnand3zzz
added a commit
to H3rnand3zzz/profanity
that referenced
this issue
Nov 11, 2023
Ensure consistent invocation of `plugins_pre_chat_message_display` for outgoing messages. Before the change, the function was not called for sent messages upon sending, but only on fetching sent messages from DB. Fix profanity-im#1917
H3rnand3zzz
added a commit
to H3rnand3zzz/profanity
that referenced
this issue
Nov 11, 2023
Ensure consistent invocation of `plugins_pre_chat_message_display` for outgoing messages. Before the change, the function was not called for sent messages upon sending, but only on fetching sent messages from DB. Fix profanity-im#1917
H3rnand3zzz
added a commit
to H3rnand3zzz/profanity
that referenced
this issue
Nov 11, 2023
Ensure consistent invocation of `plugins_pre_chat_message_display` for outgoing messages. Fix profanity-im#1917
H3rnand3zzz
added a commit
to H3rnand3zzz/profanity
that referenced
this issue
Nov 11, 2023
Ensure consistent invocation of `plugins_pre_chat_message_display` for outgoing messages. Before the change, the function was not called for sent messages upon sending, but only on fetching sent messages from DB. Fix profanity-im#1917
H3rnand3zzz
added a commit
to H3rnand3zzz/profanity
that referenced
this issue
Nov 11, 2023
Ensure consistent invocation of `plugins_pre_chat_message_display` for outgoing messages. Before the change, the function was not called for sent messages upon sending, but only on fetching sent messages from DB. Fix profanity-im#1917
H3rnand3zzz
added a commit
to H3rnand3zzz/profanity
that referenced
this issue
Dec 28, 2023
Ensure consistent invocation of `plugins_pre_chat_message_display` for outgoing messages. Before the change, the function was not called for sent messages upon sending, but only on fetching sent messages from DB. Fix profanity-im#1917
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected Behavior
prof_pre_chat_message_display
is being called for sent messages as wellCurrent Behavior
It's being called only for loaded messages from the DB (sent and received), but not for sent messages. First report is here profanity-im/profanity-plugins#23
Possible Solution
call it for sent messages as well
Steps to Reproduce (for bugs)
/plugins install https://raw.githubusercontent.com/profanity-im/profanity-plugins/master/stable/emoticons.py
/close
and/msg same_recipient
and you'll see that replacement works.Environment
Master branch
The text was updated successfully, but these errors were encountered: