aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/bee_user.c
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/bee_user.c')
-rw-r--r--protocols/bee_user.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/protocols/bee_user.c b/protocols/bee_user.c
index 2eb24997..562b31b3 100644
--- a/protocols/bee_user.c
+++ b/protocols/bee_user.c
@@ -270,6 +270,15 @@ void imcb_buddy_msg(struct im_connection *ic, const char *handle, const char *ms
}
}
+void imcb_notify_email(struct im_connection *ic, const char *handle, char *msg, uint32_t flags, time_t sent_at)
+{
+ if (handle != NULL) {
+ imcb_buddy_msg(ic, handle, msg, flags, sent_at);
+ } else {
+ imcb_log(ic, "%s", msg);
+ }
+}
+
void imcb_buddy_typing(struct im_connection *ic, const char *handle, uint32_t flags)
{
bee_user_t *bu;