summaryrefslogtreecommitdiff
path: root/src/mir_app/src/filerecvdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mir_app/src/filerecvdlg.cpp')
-rw-r--r--src/mir_app/src/filerecvdlg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_app/src/filerecvdlg.cpp b/src/mir_app/src/filerecvdlg.cpp
index 4a94cf8ed9..1ed429623c 100644
--- a/src/mir_app/src/filerecvdlg.cpp
+++ b/src/mir_app/src/filerecvdlg.cpp
@@ -372,7 +372,7 @@ public:
void onClick_Cancel(CCtrlButton *)
{
if (dat->fs) {
- ProtoChainSend(dat->hContact, PSS_FILEDENY, (WPARAM)dat->fs, (LPARAM)TranslateT("Canceled"));
+ CallContactService(dat->hContact, PS_FILEDENY, (WPARAM)dat->fs, (LPARAM)TranslateT("Canceled"));
dat->fs = nullptr; /* the protocol will free the handle */
}
}