diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2016-08-20 14:23:55 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2016-08-20 14:23:55 -0400 |
commit | af41efa7c49fb8beec4484f67fd485621abe7169 (patch) | |
tree | b09ad7e4d33be136908c2dadf758503da198a352 | |
parent | da9ff8e9d6c03167e4fbdb000aa7a421e46667ab (diff) | |
download | rawr-ebooks-af41efa7c49fb8beec4484f67fd485621abe7169.tar.gz rawr-ebooks-af41efa7c49fb8beec4484f67fd485621abe7169.tar.bz2 rawr-ebooks-af41efa7c49fb8beec4484f67fd485621abe7169.zip |
Fixed bug wherein rawr-ebooks could only respond to itself
-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; |