From 6912555e0b6118d7beafe049b3d86a10e1f75096 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Fri, 10 May 2013 20:23:21 +0000 Subject: - updated icons - updated caps - probably fixed contact duplication git-svn-id: http://svn.miranda-ng.org/main/trunk@4627 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Skype/src/skype_chat.cpp | 27 ++++++--------------------- 1 file changed, 6 insertions(+), 21 deletions(-) (limited to 'protocols/Skype/src/skype_chat.cpp') diff --git a/protocols/Skype/src/skype_chat.cpp b/protocols/Skype/src/skype_chat.cpp index 48269d71c8..c17ac72106 100644 --- a/protocols/Skype/src/skype_chat.cpp +++ b/protocols/Skype/src/skype_chat.cpp @@ -625,28 +625,13 @@ int __cdecl CSkypeProto::OnGCMenuHook(WPARAM, LPARAM lParam) } else if (gcmi->Type == MENU_ON_NICKLIST) { - if (!::wcsicmp(this->login, gcmi->pszUID)) - { - static const struct gc_item Items[] = - { - { TranslateT("User &details"), 10, MENU_ITEM, FALSE }, - { TranslateT("User &history"), 20, MENU_ITEM, FALSE }, - { _T(""), 100, MENU_SEPARATOR, FALSE }, - { TranslateT("&Leave chat session"), 110, MENU_ITEM, FALSE } - }; - gcmi->nItems = SIZEOF(Items); - gcmi->Item = (gc_item*)Items; - } - else + static const struct gc_item Items[] = { - static const struct gc_item Items[] = - { - { TranslateT("User &details"), 10, MENU_ITEM, FALSE }, - { TranslateT("User &history"), 20, MENU_ITEM, FALSE }, - }; - gcmi->nItems = SIZEOF(Items); - gcmi->Item = (gc_item*)Items; - } + { TranslateT("User &details"), 10, MENU_ITEM, FALSE }, + { TranslateT("User &history"), 20, MENU_ITEM, FALSE }, + }; + gcmi->nItems = SIZEOF(Items); + gcmi->Item = (gc_item*)Items; } return 0; -- cgit v1.2.3