diff options
| author | George Hazan <george.hazan@gmail.com> | 2025-01-10 19:24:17 +0300 |
|---|---|---|
| committer | George Hazan <george.hazan@gmail.com> | 2025-01-10 19:24:17 +0300 |
| commit | 6b0438cad083d699d7cab3e5c57f0cbc3384ef92 (patch) | |
| tree | eecf9eb803e329499fdeb7231825161ec00bf42c /protocols/SkypeWeb/src/skype_proto.cpp | |
| parent | 3d30ed65f9e226b7b183b23ce5dba435ec491f0b (diff) | |
Skype: ability to edit messages
Diffstat (limited to 'protocols/SkypeWeb/src/skype_proto.cpp')
| -rw-r--r-- | protocols/SkypeWeb/src/skype_proto.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/skype_proto.cpp b/protocols/SkypeWeb/src/skype_proto.cpp index d2f6bf4ba2..620b03b386 100644 --- a/protocols/SkypeWeb/src/skype_proto.cpp +++ b/protocols/SkypeWeb/src/skype_proto.cpp @@ -26,7 +26,6 @@ CSkypeProto::CSkypeProto(const char *protoName, const wchar_t *userName) : m_bAutoHistorySync(this, "AutoSync", true),
m_bUseHostnameAsPlace(this, "UseHostName", true),
m_bUseBBCodes(this, "UseBBCodes", true),
- m_bUseServerTime(this, "UseServerTime", false),
m_wstrCListGroup(this, SKYPE_SETTINGS_GROUP, L"Skype"),
m_wstrPlace(this, "Place", L""),
m_iMood(this, "Mood", 0),
@@ -79,6 +78,11 @@ void CSkypeProto::OnEventDeleted(MCONTACT hContact, MEVENT hDbEvent, int flags) PushRequest(new DeleteMessageRequest(this, getId(hContact), dbei.szId));
}
+void CSkypeProto::OnEventEdited(MCONTACT hContact, MEVENT, const DBEVENTINFO &dbei)
+{
+ SendServerMsg(hContact, dbei.pBlob, dbei.iTimestamp);
+}
+
void CSkypeProto::OnModulesLoaded()
{
setAllContactStatuses(ID_STATUS_OFFLINE, false);
@@ -188,6 +192,11 @@ int CSkypeProto::GetInfo(MCONTACT hContact, int) return 0;
}
+int CSkypeProto::SendMsg(MCONTACT hContact, MEVENT, const char *szMessage)
+{
+ return SendServerMsg(hContact, szMessage);
+}
+
int CSkypeProto::SetStatus(int iNewStatus)
{
if (iNewStatus == m_iDesiredStatus)
|
