From fc729a37956500e78f313e32dc65e6855b09515f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Fri, 25 Jan 2013 11:38:55 +0000 Subject: ICQ: fixed setting last xstatus on login git-svn-id: http://svn.miranda-ng.org/main/trunk@3278 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/IcqOscarJ/src/fam_01service.cpp | 3 +++ protocols/IcqOscarJ/src/icq_proto.cpp | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/protocols/IcqOscarJ/src/fam_01service.cpp b/protocols/IcqOscarJ/src/fam_01service.cpp index 228754e7ec..4439dd85b5 100644 --- a/protocols/IcqOscarJ/src/fam_01service.cpp +++ b/protocols/IcqOscarJ/src/fam_01service.cpp @@ -968,6 +968,9 @@ void CIcqProto::handleServUINSettings(int nPort, serverthread_info *info) m_avatarsConnectionPending = TRUE; NetLog_Server("Requesting Avatar family entry point."); } + + // Set last xstatus + updateServerCustomStatus(TRUE); } info->isMigrating = 0; diff --git a/protocols/IcqOscarJ/src/icq_proto.cpp b/protocols/IcqOscarJ/src/icq_proto.cpp index 76a7fd2d90..50771cb011 100644 --- a/protocols/IcqOscarJ/src/icq_proto.cpp +++ b/protocols/IcqOscarJ/src/icq_proto.cpp @@ -2001,9 +2001,6 @@ int __cdecl CIcqProto::SetStatus(int iNewStatus) // Read password from database char *pszPwd = GetUserPassword(FALSE); - // Clear xstatus - setXStatusEx(0, 0); - if (pszPwd) icq_login(pszPwd); else -- cgit v1.2.3