summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_utils.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2013-06-10 19:42:11 +0000
committerAlexander Lantsev <aunsane@gmail.com>2013-06-10 19:42:11 +0000
commit4adc7e198f49bbd5b39141f13322b653402c8a79 (patch)
tree6f0be5aa2527a9ab1aa9f2966dc17b033847641c /protocols/Skype/src/skype_utils.cpp
parentcdf4d005c67b8b5ef62170ccd4fdd29579965d9c (diff)
Skype:
- fixed chat role updating - fixed chat commands git-svn-id: http://svn.miranda-ng.org/main/trunk@4911 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_utils.cpp')
-rw-r--r--protocols/Skype/src/skype_utils.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/Skype/src/skype_utils.cpp b/protocols/Skype/src/skype_utils.cpp
index 4c908788d6..10203a3577 100644
--- a/protocols/Skype/src/skype_utils.cpp
+++ b/protocols/Skype/src/skype_utils.cpp
@@ -414,6 +414,9 @@ char *CSkypeProto::RemoveHtml(const char *text)
std::string new_string = "";
std::string data = text;
+ if (data.find("\x1b\xe3\xac\x8d\x1d") != -1)
+ data = "CONVERSATION MEMBERS:" + data.substr(5, data.length() - 5);
+
for (std::string::size_type i = 0; i < data.length(); i++)
{
if (data.at(i) == '<' && data.at(i+1) != ' ')