diff options
author | Piotr Piastucki <leech.miranda@gmail.com> | 2015-10-19 23:49:45 +0000 |
---|---|---|
committer | Piotr Piastucki <leech.miranda@gmail.com> | 2015-10-19 23:49:45 +0000 |
commit | 1f9219eb0abc61710a0ed5ddf0b23877be08360d (patch) | |
tree | f01701f493132a3fa0abbc20db581987456d9b69 /protocols/MSN/src/msn_ieembed.cpp | |
parent | 53fe38bb0e7f94a58c3e4edc21581fdd4c5b3e5e (diff) |
MSN: Periodically refresh OAuth so that connection doesn't timeout with error 922 after 24 hours.
git-svn-id: http://svn.miranda-ng.org/main/trunk@15573 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MSN/src/msn_ieembed.cpp')
-rw-r--r-- | protocols/MSN/src/msn_ieembed.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/MSN/src/msn_ieembed.cpp b/protocols/MSN/src/msn_ieembed.cpp index f231bbafed..996a531093 100644 --- a/protocols/MSN/src/msn_ieembed.cpp +++ b/protocols/MSN/src/msn_ieembed.cpp @@ -126,7 +126,8 @@ static LRESULT CALLBACK IEEmbedServerWindowProcedure(HWND hwnd, UINT message, WP break; */
case WM_KEYDOWN:
- (*view)->translateAccelerator(message, wParam, lParam);
+ if (LOWORD(wParam) != VK_BACK)
+ (*view)->translateAccelerator(message, wParam, lParam);
break;
/*
|