From 9774715b1914ac65ada1211322bfd080af694af9 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 24 Mar 2024 15:22:00 +0300 Subject: code cleaning --- plugins/Scriver/src/msglog.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'plugins/Scriver/src/msglog.cpp') 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; -- cgit v1.2.3