diff options
-rw-r--r-- | ebooks.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ebooks.cpp b/ebooks.cpp index fd9ca83..dd4e27b 100644 --- a/ebooks.cpp +++ b/ebooks.cpp | |||
@@ -78,7 +78,7 @@ int main(int argc, char** args) | |||
78 | twitter::stream user_stream(client, [&kgramstats] (const twitter::notification& n) { | 78 | twitter::stream user_stream(client, [&kgramstats] (const twitter::notification& n) { |
79 | if (n.getType() == twitter::notification::type::tweet) | 79 | if (n.getType() == twitter::notification::type::tweet) |
80 | { | 80 | { |
81 | if ((!n.getTweet().isRetweet()) && (n.getTweet().isMyTweet())) | 81 | if ((!n.getTweet().isRetweet()) && (!n.getTweet().isMyTweet())) |
82 | { | 82 | { |
83 | std::string original = n.getTweet().getText(); | 83 | std::string original = n.getTweet().getText(); |
84 | std::string canonical; | 84 | std::string canonical; |