Changeset 1239d05 for protocols


Ignore:
Timestamp:
2016-01-21T06:29:20Z (9 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
eee7294
Parents:
7e68015
Message:

purple: Also show 'title' and 'primary' messages for input requests

It was showing 'secondary' only before.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/purple/purple.c

    r7e68015 r1239d05  
    11771177
    11781178        imcb_add_buddy(ic, ri->buddy, NULL);
    1179         imcb_buddy_msg(ic, ri->buddy, secondary, 0, 0);
     1179
     1180        if (title && *title) {
     1181                imcb_buddy_msg(ic, ri->buddy, title, 0, 0);
     1182        }
     1183
     1184        if (primary && *primary) {
     1185                imcb_buddy_msg(ic, ri->buddy, primary, 0, 0);
     1186        }
     1187
     1188        if (secondary && *secondary) {
     1189                imcb_buddy_msg(ic, ri->buddy, secondary, 0, 0);
     1190        }
    11801191
    11811192        return ri;
Note: See TracChangeset for help on using the changeset viewer.