diff options
author | George Hazan <george.hazan@gmail.com> | 2013-10-10 19:11:06 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-10-10 19:11:06 +0000 |
commit | 302abe573a8256d8c813af8f55d436e7b1c1dfb6 (patch) | |
tree | 855753b1d37503ac60bbc74563a6c01f3a955f2a /protocols/GTalkExt/src/inbox.cpp | |
parent | 24879d15a1e7f0d7bf02bb10b4145aff2f72f585 (diff) |
GTalk: old menu restored (in protocol menu)
git-svn-id: http://svn.miranda-ng.org/main/trunk@6431 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/GTalkExt/src/inbox.cpp')
-rw-r--r-- | protocols/GTalkExt/src/inbox.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/protocols/GTalkExt/src/inbox.cpp b/protocols/GTalkExt/src/inbox.cpp index 8e6a6c5625..435c73c9da 100644 --- a/protocols/GTalkExt/src/inbox.cpp +++ b/protocols/GTalkExt/src/inbox.cpp @@ -226,13 +226,9 @@ void OpenUrl(LPCSTR acc, LPCTSTR mailbox, LPCTSTR url) mir_forkthread(ShellExecuteThread, mir_tstrdup(url));
}
-void OpenContactInbox(HANDLE hContact)
+void OpenContactInbox(LPCSTR szModuleName)
{
- LPSTR acc = GetContactProto(hContact);
- if (acc == NULL)
- return;
-
- ptrT tszJid( db_get_tsa(0, acc, "jid"));
+ ptrT tszJid( db_get_tsa(0, szModuleName, "jid"));
if (tszJid == NULL)
return;
@@ -246,5 +242,5 @@ void OpenContactInbox(HANDLE hContact) mir_sntprintf(buf, SIZEOF(buf), INBOX_URL_FORMAT, _T("a/"), host); // hosted
else
mir_sntprintf(buf, SIZEOF(buf), INBOX_URL_FORMAT, _T(""), _T("mail")); // common
- OpenUrl(acc, tszJid, buf);
+ OpenUrl(szModuleName, tszJid, buf);
}
|