push-notification-event-messageread.c revision 23bdbb7b1831785c6ba6df190f6369da882d2b9d
/* Copyright (c) 2015-2016 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "mail-storage.h"
#include "mail-types.h"
#include "push-notification-drivers.h"
#include "push-notification-events.h"
#include "push-notification-event-messageread.h"
#include "push-notification-txn-msg.h"
#define EVENT_NAME "MessageRead"
static void push_notification_event_messageread_debug_msg
{
}
static void push_notification_event_messageread_event(
struct push_notification_txn *ptxn,
struct push_notification_event_config *ec,
struct push_notification_txn_msg *msg,
enum mail_flags old_flags)
{
enum mail_flags flags;
/* If data struct exists, that means the read flag was changed. */
struct push_notification_event_messageread_data, 1);
}
}
}
/* Event definition */
extern struct push_notification_event push_notification_event_messageread;
.name = EVENT_NAME,
.msg = {
},
.msg_triggers = {
}
};