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 prof_pre_chat_message_display does not replace sent messages + minor refactoring #1918

Merged
merged 2 commits into from
Nov 20, 2023

Commits on Nov 11, 2023

  1. Refactor plugins_pre_chat_message_display for Memory Management

    Refactor function to enhance memory handling, addressing
    temporary workaround introduced in 2e0adbd. Adjustments
    ensure cleaner code and maintainability.
    
    Part of the improvements suggested by @sjaeckel.
    H3rnand3zzz committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    16ed7cc View commit details
    Browse the repository at this point in the history
  2. Fix: add plugins_pre_chat_message_display call for outgoing messages

    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 committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    b19f668 View commit details
    Browse the repository at this point in the history