Skip to content

Is this plugin known to work with roundcube 1.4.13? #28

@jonhnet

Description

@jonhnet

Hi there,
I plugged this into my fairly vanilla debian bullseye roundcube; no other plugins. I can add rows to the Message Highlights table, but nothing changes in the message list display.
I tried adding console.log(message) to mh_insert_row() in the .js file. I can see dozens of rows in the browser console, but none have the .flags field that the js is expecting:

    // check if our color info is present
    if(message.flags && message.flags.plugin_mh_color) {

It looks like the php is trying to populate that field inside mh_highlight(). I tried shoving my own field in unconditionally:

      $message->list_flags['extra_flags']['plugin_mh_jonh'] = 'xxx-jonh';

...and that doesn't show up in the browser JS console, either.
So now I'm suspecting that the path from PHP 'extra_flags' to JS .flags has changed somewhere along the line, which makes me wonder whether I'm trying to debug something that has simply fallen behind the current roundcube hooks?

Thanks much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions