diff options
author | George Hazan <ghazan@miranda.im> | 2019-01-18 23:14:19 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-01-18 23:14:19 +0300 |
commit | c2e2c85262148dcf71450dfd3c7b33ef41eb84ec (patch) | |
tree | fe21b2d7677f955168dee25b4fea722dcd06c924 /plugins/BasicHistory | |
parent | e3bea6d9c261c87d7f67ecc06392c0d0cd4fe2dc (diff) |
code cleaning
- ACKTYPE_URL removed;
- PF1_URL removed;
- IEED_EVENT_URL removed;
- another URL-related code cleaning
Diffstat (limited to 'plugins/BasicHistory')
-rw-r--r-- | plugins/BasicHistory/src/EventList.cpp | 5 | ||||
-rw-r--r-- | plugins/BasicHistory/src/Options.cpp | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/plugins/BasicHistory/src/EventList.cpp b/plugins/BasicHistory/src/EventList.cpp index 4906732d31..8e3b635be2 100644 --- a/plugins/BasicHistory/src/EventList.cpp +++ b/plugins/BasicHistory/src/EventList.cpp @@ -79,7 +79,6 @@ bool HistoryEventList::CanShowHistory(DBEVENTINFO* dbei) if (m_defFilter < 1) {
switch (dbei->eventType) {
case EVENTTYPE_MESSAGE:
- case EVENTTYPE_URL:
case EVENTTYPE_FILE:
return true;
@@ -123,7 +122,6 @@ bool HistoryEventList::CanShowHistory(const IImport::ExternalMessage &message) if (m_defFilter < 1) {
switch (message.eventType) {
case EVENTTYPE_MESSAGE:
- case EVENTTYPE_URL:
case EVENTTYPE_FILE:
return true;
}
@@ -466,9 +464,6 @@ bool HistoryEventList::GetEventIcon(bool isMe, int eventType, int &id) case EVENTTYPE_FILE:
id = iconsNum;
return true;
- case EVENTTYPE_URL:
- id = iconsNum + 1;
- return true;
case EVENTTYPE_AUTHREQUEST:
id = iconsNum + 2;
return true;
diff --git a/plugins/BasicHistory/src/Options.cpp b/plugins/BasicHistory/src/Options.cpp index 0190050341..797e41b92d 100644 --- a/plugins/BasicHistory/src/Options.cpp +++ b/plugins/BasicHistory/src/Options.cpp @@ -34,7 +34,6 @@ EventNames[] = {
EVENTTYPE_MESSAGE, LPGENW("Message"),
EVENTTYPE_FILE, LPGENW("File transfer"),
- EVENTTYPE_URL, LPGENW("Link"),
EVENTTYPE_AUTHREQUEST, LPGENW("Authorization request"),
EVENTTYPE_ADDED, LPGENW("You were added"),
EVENTTYPE_CONTACTS, LPGENW("Contacts received"),
|