summaryrefslogtreecommitdiff
path: root/plugins/YARelay/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/YARelay/src')
-rw-r--r--plugins/YARelay/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/YARelay/src/main.cpp b/plugins/YARelay/src/main.cpp
index b6e479e9db..c4506df141 100644
--- a/plugins/YARelay/src/main.cpp
+++ b/plugins/YARelay/src/main.cpp
@@ -220,7 +220,7 @@ static int MessageEventAdded(WPARAM wParam, LPARAM lParam)
// mark message as 'read'
if (iMarkRead > 0)
- CallService(MS_DB_EVENT_MARKREAD, wParam, lParam);
+ db_event_markRead(hContact, hDBEvent);
return 0;
}