diff options
author | George Hazan <george.hazan@gmail.com> | 2024-07-16 18:59:07 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-07-16 18:59:07 +0300 |
commit | b1a6b67199a9d616df29dbf630fb70432a01052c (patch) | |
tree | d3718673c697286769cb91d0b17e8248e97d70d5 /src/mir_app | |
parent | 28b8cab51ba96f65142defdccc72f29edf841b12 (diff) |
fixes #4534 (Jabber: не работает пункт меню контакта "Отозвать авторизацию")
Diffstat (limited to 'src/mir_app')
-rw-r--r-- | src/mir_app/src/proto_interface.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mir_app/src/proto_interface.cpp b/src/mir_app/src/proto_interface.cpp index 3c0cd26ea7..584c0dbe40 100644 --- a/src/mir_app/src/proto_interface.cpp +++ b/src/mir_app/src/proto_interface.cpp @@ -361,6 +361,7 @@ void InitProtoMenus(void) mi.position = -2000001001;
mi.hIcolibItem = Skin_GetIconHandle(SKINICON_AUTH_GRANT);
hGrantAuth = Menu_AddContactMenuItem(&mi);
+ CreateServiceFunction(mi.pszService, stubGrantAuth);
// "Revoke authorization"
SET_UID(mi, 0x619efdcb, 0x99c0, 0x44a8, 0xbf, 0x28, 0xc3, 0xe0, 0x2f, 0xb3, 0x7e, 0x77);
@@ -369,6 +370,7 @@ void InitProtoMenus(void) mi.position = -2000001000;
mi.hIcolibItem = Skin_GetIconHandle(SKINICON_AUTH_REVOKE);
hRevokeAuth = Menu_AddContactMenuItem(&mi);
+ CreateServiceFunction(mi.pszService, stubRevokeAuth);
SET_UID(mi, 0xd15b841d, 0xb0fc, 0x4ab5, 0x96, 0x94, 0xcf, 0x6c, 0x6e, 0x99, 0x4b, 0x3c); // {D15B841D-B0FC-4AB5-9694-CF6C6E994B3C}
mi.pszService = "Proto/Menu/LoadHistory";
|