summaryrefslogtreecommitdiff
path: root/protocols/ICQ-WIM
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-09-06 15:14:07 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-09-06 15:14:07 +0300
commit38b24044db30c606e9bb3ebe0849b16c9fdc6e62 (patch)
treeaf2822805df50b5f3cc18abc2d709ace3140342d /protocols/ICQ-WIM
parent5e232971e1eb3a0ce665a3e34b982db49676e653 (diff)
fixes #3667 (Telegram: add message edit feature)
Diffstat (limited to 'protocols/ICQ-WIM')
-rw-r--r--protocols/ICQ-WIM/src/proto.cpp4
-rw-r--r--protocols/ICQ-WIM/src/proto.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/protocols/ICQ-WIM/src/proto.cpp b/protocols/ICQ-WIM/src/proto.cpp
index 356765e07b..343ac8fef5 100644
--- a/protocols/ICQ-WIM/src/proto.cpp
+++ b/protocols/ICQ-WIM/src/proto.cpp
@@ -177,7 +177,7 @@ void CIcqProto::OnReceiveOfflineFile(DB::FILE_BLOB &blob, void *ft)
}
}
-void CIcqProto::OnSendOfflineFile(DB::EventInfo &dbei, DB::FILE_BLOB &blob, void *hTransfer)
+void CIcqProto::OnSendOfflineFile(DB::EventInfo &, DB::FILE_BLOB &blob, void *hTransfer)
{
auto *ft = (IcqFileTransfer *)hTransfer;
@@ -193,7 +193,7 @@ void CIcqProto::OnSendOfflineFile(DB::EventInfo &dbei, DB::FILE_BLOB &blob, void
blob.setLocalName(ft->m_wszFileName);
}
-void CIcqProto::OnEventEdited(MCONTACT, MEVENT)
+void CIcqProto::OnEventEdited(MCONTACT, MEVENT, const DBEVENTINFO &)
{
}
diff --git a/protocols/ICQ-WIM/src/proto.h b/protocols/ICQ-WIM/src/proto.h
index 7ca0874770..1d51df8369 100644
--- a/protocols/ICQ-WIM/src/proto.h
+++ b/protocols/ICQ-WIM/src/proto.h
@@ -415,7 +415,7 @@ class CIcqProto : public PROTO<CIcqProto>
void OnContactAdded(MCONTACT) override;
void OnContactDeleted(MCONTACT) override;
MWindow OnCreateAccMgrUI(MWindow) override;
- void OnEventEdited(MCONTACT, MEVENT) override;
+ void OnEventEdited(MCONTACT, MEVENT, const DBEVENTINFO &dbei) override;
void OnMarkRead(MCONTACT, MEVENT) override;
void OnModulesLoaded() override;
void OnReceiveOfflineFile(DB::FILE_BLOB &blob, void *ft) override;