Ignore:
Timestamp:
2015-05-28T05:26:24Z (9 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
faeb521
Parents:
3d31618
git-author:
Artem Savkov <artem.savkov@…> (28-03-15 01:23:42)
git-committer:
dequis <dx@…> (28-05-15 05:26:24)
Message:

Gmail notifications support through new imcb_notify_email() API

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/bee_user.c

    r3d31618 rdd43c62  
    271271}
    272272
     273void imcb_notify_email(struct im_connection *ic, const char *handle, char *msg, uint32_t flags, time_t sent_at)
     274{
     275        if (handle != NULL) {
     276                imcb_buddy_msg(ic, handle, msg, flags, sent_at);
     277        } else {
     278                imcb_log(ic, "%s", msg);
     279        }
     280}
     281
    273282void imcb_buddy_typing(struct im_connection *ic, const char *handle, uint32_t flags)
    274283{
Note: See TracChangeset for help on using the changeset viewer.