Changeset 4806

Show
Ignore:
Timestamp:
01/06/07 13:45:35 (2 years ago)
Author:
emostar
Message:

Don't attempt to download a picture if we are invisible, it results in an error.

Closes #1470

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/msn/src/msn-srv.cpp

    r4637 r4806  
    689689void CMSN::MSNGetDisplayPicture(const string &strUser, const string &strMSNObject) 
    690690{ 
     691  // If we are invisible, this will result in an error, so don't allow it 
     692  if (m_nStatus & ICQ_STATUS_FxPRIVATE) 
     693    return; 
     694 
    691695  char *szUser = const_cast<char *>(strUser.c_str()); 
    692696  CMSNPacket *pGetMSNDP = new CPS_MSNInvitation(szUser,