diff options
author | George Hazan <ghazan@miranda.im> | 2019-03-04 22:59:21 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-03-04 22:59:21 +0300 |
commit | 4e61f273091ef5050ead326c809237d66417cd06 (patch) | |
tree | 77c5413d4c527ccafd5a3bddc6b67cee0cb77c24 /protocols/Tox | |
parent | 6b12ab62f6aee61ded7bf4fab76b93975785e721 (diff) |
Tox not to modify Request Auth/Grant Auth menu items for another contacts
Diffstat (limited to 'protocols/Tox')
-rw-r--r-- | protocols/Tox/src/tox_menus.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/protocols/Tox/src/tox_menus.cpp b/protocols/Tox/src/tox_menus.cpp index 7e6313aadf..debe3b5ae6 100644 --- a/protocols/Tox/src/tox_menus.cpp +++ b/protocols/Tox/src/tox_menus.cpp @@ -1,13 +1,8 @@ #include "stdafx.h"
-// HGENMENU CToxProto::ContactMenuItems[CMI_MAX];
-
int CToxProto::OnPrebuildContactMenu(WPARAM hContact, LPARAM)
{
- // for (auto &it : ContactMenuItems)
- // Menu_ShowItem(it, false);
-
- if (!hContact)
+ if (!Proto_IsProtoOnContact(hContact, m_szModuleName))
return 0;
if (!this->IsOnline())
|