-
Notifications
You must be signed in to change notification settings - Fork 4
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
Set Keywords for several mails at once- #12
Comments
dlog notification plugin pr 30 00:34:47 imap(t1): Debug: Called process_msg push_notification plugin hook. |
keywords are set in: src/plugins/push-notification/push-notification-event-flagsset.c ./src/plugins/push-notification/push-notification-triggers.c |
static void push_notification_event_flagsset_keywords_event(
} |
/src/plugins/push-notification/push-notification-txn-msg.c: triggers the process_event notification hook, but only once! |
struct push_notification_txn_msg * => this function is only called once to create the message. |
looks like a bug in dovecot: the function assumes that each message has a different txn->t->save_count, but this is not
|
This bug seems to be fixed in 2.3.5 |
if user selects multiple mails at one "e.g. via thunderbird" and sets / deletes a keyword. the notification plugin sends the following msg.
{"user":"sm@sm.test","mailbox":"INBOX","event":"FlagsClear","uidvalidity":1556548880,"uid":1,"keywords":["x.travel",".travel","x.travel","x.travel","x.travel","x.travel","x.travel","x.travel","x.travel","travel","x.travel","x.travel","x.travel","x.travel","x.travel"]}
The text was updated successfully, but these errors were encountered: