Changeset b38f655 for protocols/yahoo


Ignore:
Timestamp:
2015-05-28T05:26:30Z (10 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
6191263, d2d2b80
Parents:
0864a52
git-author:
dequis <dx@…> (28-05-15 03:41:37)
git-committer:
dequis <dx@…> (28-05-15 05:26:30)
Message:

Rename mail notification related settings for consistency

  • GMail notifications stuff is now just 'mail_notifications'
  • sed -i s/notify_handle/mail_notifications_handle/
File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/yahoo/yahoo.c

    r0864a52 rb38f655  
    128128        s->flags |= ACC_SET_OFFLINE_ONLY;
    129129
    130         s = set_add(&acc->set, "notify_handle", NULL, NULL, acc);
     130        s = set_add(&acc->set, "mail_notifications_handle", NULL, NULL, acc);
    131131        s->flags |= ACC_SET_OFFLINE_ONLY | SET_NULL_OK;
    132132
     
    152152        yahoo_login(yd->y2_id, yd->current_status);
    153153
    154         if (set_getbool(&acc->set, "mail_notifications") && set_getstr(&acc->set, "notify_handle")) {
    155                 imcb_add_buddy(ic, set_getstr(&acc->set, "notify_handle"), NULL);
     154        if (set_getbool(&acc->set, "mail_notifications") && set_getstr(&acc->set, "mail_notifications_handle")) {
     155                imcb_add_buddy(ic, set_getstr(&acc->set, "mail_notifications_handle"), NULL);
    156156        }
    157157}
Note: See TracChangeset for help on using the changeset viewer.