Changeset aa6bcd8 for protocols


Ignore:
Timestamp:
2014-11-17T05:57:22Z (10 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
e2472dd
Parents:
3325df7
Message:

msn: add 'allow' role if contact has neither block nor allow

This workarounds the problems of showing as offline to other contacts,
by sending ADL with role 3 (FL+AL) instead of just 1 (FL, no AL or BL)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/msn/soap.c

    r3325df7 raa6bcd8  
    760760                                          ( MSN_BUDDY_AL | MSN_BUDDY_BL ) )
    761761                        {
     762                                /* both allow and block, delete block, add wtf */
    762763                                bd->flags &= ~MSN_BUDDY_BL;
    763764                                wtf++;
     765                        }
     766
     767
     768                        if( ( bd->flags & ( MSN_BUDDY_AL | MSN_BUDDY_BL ) ) == 0 )
     769                        {
     770                                /* neither allow or block, add allow */
     771                                bd->flags |= MSN_BUDDY_AL;
    764772                        }
    765773                }
Note: See TracChangeset for help on using the changeset viewer.