From 3396cc5f8f4f55f11638deb7a2ce817dfb73637a Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Thu, 22 Nov 2018 08:19:07 -0500 Subject: Bot should ignore retweets --- snitch.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/snitch.cpp b/snitch.cpp index 65afff3..80df330 100644 --- a/snitch.cpp +++ b/snitch.cpp @@ -115,6 +115,8 @@ int main(int argc, char** argv) if ( // Only monitor people you are following friends.count(tweet.getAuthor().getID()) && + // Ignore retweets + !tweet.isRetweet() && // Ignore tweets from before the bot started up createdTime > startedTime) { -- cgit 1.4.1