summaryrefslogtreecommitdiff
path: root/plugins/Scriver/src/msglog.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-03-24 15:22:00 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-03-24 15:22:00 +0300
commit9774715b1914ac65ada1211322bfd080af694af9 (patch)
tree639b14e2201ffa0ebe5c514114ca30f23d1f8c70 /plugins/Scriver/src/msglog.cpp
parentb873a2605a28bbf43e9cc6679562cf6bbabad601 (diff)
code cleaning
Diffstat (limited to 'plugins/Scriver/src/msglog.cpp')
-rw-r--r--plugins/Scriver/src/msglog.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/plugins/Scriver/src/msglog.cpp b/plugins/Scriver/src/msglog.cpp
index cf68b2a7cc..f5566ea31c 100644
--- a/plugins/Scriver/src/msglog.cpp
+++ b/plugins/Scriver/src/msglog.cpp
@@ -39,18 +39,9 @@ struct RtfLogStreamData : public RtfLogStreamBase
GlobalMessageData *gdat;
};
-bool DbEventIsMessageOrCustom(const DB::EventInfo &dbei)
-{
- return dbei.eventType == EVENTTYPE_MESSAGE || dbei.eventType == EVENTTYPE_FILE || dbei.isSrmm();
-}
-
bool DbEventIsShown(const DB::EventInfo &dbei)
{
switch (dbei.eventType) {
- case EVENTTYPE_MESSAGE:
- case EVENTTYPE_FILE:
- return 1;
-
case EVENTTYPE_JABBER_CHATSTATES:
case EVENTTYPE_JABBER_PRESENCE:
return 0;