summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_utils.cpp
diff options
context:
space:
mode:
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)