summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_utils.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-06-07 08:55:07 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-06-07 08:55:07 +0000
commit85596094fcbd80e105f13b317c50305f94500251 (patch)
tree0b993c38523f259d517eb1e61d4a68f68067feb8 /protocols/SkypeWeb/src/skype_utils.cpp
parentcbeb26aff86cba1439b595c0157cd3972f560dc1 (diff)
SkypeWeb: Attempt support M$ account login.
git-svn-id: http://svn.miranda-ng.org/main/trunk@14038 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_utils.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_utils.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/protocols/SkypeWeb/src/skype_utils.cpp b/protocols/SkypeWeb/src/skype_utils.cpp
index 4b3a2471da..bfc4cc3bdd 100644
--- a/protocols/SkypeWeb/src/skype_utils.cpp
+++ b/protocols/SkypeWeb/src/skype_utils.cpp
@@ -419,11 +419,7 @@ char *CSkypeProto::RemoveHtml(const char *text)
bool CSkypeProto::IsMe(const char *skypeName)
{
- ptrA mySkypeName(getStringA(SKYPE_SETTINGS_ID));
- ptrA SelfEndpointName(getStringA("SelfEndpointName"));
- if (!mir_strcmpi(skypeName, mySkypeName) || !mir_strcmp(skypeName, SelfEndpointName))
- return true;
- return false;
+ return (!mir_strcmpi(skypeName, m_szSelfSkypeName) || !mir_strcmp(skypeName, ptrA(getStringA("SelfEndpointName"))));
}
char *CSkypeProto::MirandaToSkypeStatus(int status)