imap_command_finished event is not issued when the flag is set.
if (client->mailbox_change_lock == cmd)
client->mailbox_change_lock = NULL;
- event_set_name(cmd->event, "imap_command_finished");
+ if (!cmd->internal)
+ event_set_name(cmd->event, "imap_command_finished");
if (cmd->tagline_reply != NULL) {
event_add_str(cmd->event, "tagged_reply_state",
t_strcut(cmd->tagline_reply, ' '));
bool temp_executed:1; /* temporary execution state tracking */
bool tagline_sent:1;
bool executing:1;
+ bool internal:1;
};
struct imap_client_vfuncs {