Changeset 664

Show
Ignore:
Timestamp:
12/29/05 23:12:32 (3 years ago)
Author:
jajcus
Message:

- comment about using presence information instead of subscription state when setting user visibility for GG contacts

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/sessions.c

    r659 r664  
    976976 
    977977        if (c->blocked) return GG_USER_BLOCKED; 
     978 
     979        /* do not rely on c->subscribe only, but rather use presence stanzas received, 
     980         * so directed presece and privacy rules may work */ 
    978981        if (c->got_online) notify_type|=GG_USER_NORMAL-GG_USER_OFFLINE; 
    979982        if (c->got_probe || c->subscribe==SUB_TO || c->subscribe==SUB_BOTH) notify_type|=GG_USER_OFFLINE;