summaryrefslogtreecommitdiff
path: root/plugins/NewsAggregator/Src/Services.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-01-31 22:48:49 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-01-31 22:48:57 +0300
commiteb632a84170ea471b4a3334b951d52c9827e393b (patch)
treef051dc02b81fbadae18b37fdba09375a20084b73 /plugins/NewsAggregator/Src/Services.cpp
parentdda0fe5570bf7cb6634eb2a1debc5088433abfdd (diff)
fix for the broken message reading in NewsAggregator
Diffstat (limited to 'plugins/NewsAggregator/Src/Services.cpp')
-rw-r--r--plugins/NewsAggregator/Src/Services.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/plugins/NewsAggregator/Src/Services.cpp b/plugins/NewsAggregator/Src/Services.cpp
index 885f311fe1..1e222f9314 100644
--- a/plugins/NewsAggregator/Src/Services.cpp
+++ b/plugins/NewsAggregator/Src/Services.cpp
@@ -213,6 +213,17 @@ INT_PTR NewsAggrGetAvatarInfo(WPARAM wParam, LPARAM lParam)
return GAIR_WAITFOR;
}
+INT_PTR NewsAggrRecvMessage(WPARAM, LPARAM lParam)
+{
+ PROTOACCOUNT *pa = Proto_GetAccount(MODULE);
+ if (pa && pa->ppro) {
+ CCSDATA *ccs = (CCSDATA*)lParam;
+ pa->ppro->PROTO_INTERFACE::RecvMsg(ccs->hContact, (PROTORECVEVENT*)ccs->lParam);
+ }
+
+ return 0;
+}
+
void UpdateMenu(bool State)
{
if (!State) // to enable auto-update