diff options
Diffstat (limited to 'MirOTR/svcs_menu.cpp')
-rw-r--r-- | MirOTR/svcs_menu.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/MirOTR/svcs_menu.cpp b/MirOTR/svcs_menu.cpp index 5a2944c..da1104a 100644 --- a/MirOTR/svcs_menu.cpp +++ b/MirOTR/svcs_menu.cpp @@ -86,6 +86,14 @@ int SVC_StopOTR(WPARAM wParam, LPARAM lParam) { return 0;
}
+int SVC_VerifyOTR(WPARAM wParam, LPARAM lParam) {
+ HANDLE hContact = (HANDLE)wParam;
+ ConnContext *context = otrl_context_find_miranda(otr_user_state, (HANDLE)wParam);
+ if (!context) return 1;
+ VerifyContextDialog(context);
+ return 0;
+}
+
void InitMenu() {
CLISTMENUITEM mi = {0};
mi.cbSize = sizeof(mi);
|