summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-12-14 17:59:36 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-12-14 17:59:36 +0000
commit19b447116d804f94159be65d7e7e5039a990a1c2 (patch)
tree3c1eac3dc66ade40fa7e830990fdee5c0ca59bc7 /protocols
parent4ac6a5d90bfa2956aa69cd47b01f9e64db0d8cca (diff)
it's not that simple (c) to move a piece of code to another place
git-svn-id: http://svn.miranda-ng.org/main/trunk@15860 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r--protocols/JabberG/src/jabber_menu.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/protocols/JabberG/src/jabber_menu.cpp b/protocols/JabberG/src/jabber_menu.cpp
index f1c1a71f26..47d98c5d87 100644
--- a/protocols/JabberG/src/jabber_menu.cpp
+++ b/protocols/JabberG/src/jabber_menu.cpp
@@ -292,8 +292,10 @@ void g_MenuInit(void)
g_hMenuSendNote = Menu_AddContactMenuItem(&mi);
CreateServiceFunction(mi.pszService, JabberMenuSendNote);
+ //////////////////////////////////////////////////////////////////////////////////////
// Direct Presence
- SET_UID(mi, 0x89803943, 0xa87e, 0x4ae9, 0xbf, 0x79, 0xe3, 0xf3, 0xd6, 0x86, 0xf8, 0x3d);
+
+ SET_UID(mi, 0x89803943, 0xa87e, 0x4ae9, 0xbf, 0x79, 0xe3, 0xf3, 0xd6, 0x86, 0xf8, 0x3d);
mi.pszService = "Jabber/DirectPresenceDummySvc";
mi.name.a = LPGEN("Send Presence");
mi.position = -1999901011;
@@ -314,11 +316,12 @@ void g_MenuInit(void)
CreateServiceFunctionParam(mi.pszService, JabberMenuHandleDirectPresence, PresenceModeArray[i].mode);
}
- mi.flags &= ~(CMIF_TCHAR);
- mi.root = NULL;
-
+ //////////////////////////////////////////////////////////////////////////////////////
// Resource selector
+
SET_UID(mi, 0x32a7bb9d, 0x4d9, 0x49b3, 0xac, 0x8f, 0x83, 0xb5, 0x6b, 0xff, 0x4f, 0x5);
+ mi.flags = 0;
+ mi.root = NULL;
mi.pszService = "Jabber/ResourceSelectorDummySvc";
mi.name.a = LPGEN("Jabber Resource");
mi.position = -1999901011;