diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2016-05-25 21:35:21 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2016-05-25 21:35:21 -0400 |
commit | 1f826b63bbfc90e88537a5f9251040c9807497c2 (patch) | |
tree | 9c47caf21d725ad94ef0c737384baa91a83a8eaa | |
parent | 0b8ffe05381fc66583db65e917022f5d5df5e09b (diff) | |
download | snitch-1f826b63bbfc90e88537a5f9251040c9807497c2.tar.gz snitch-1f826b63bbfc90e88537a5f9251040c9807497c2.tar.bz2 snitch-1f826b63bbfc90e88537a5f9251040c9807497c2.zip |
Now properly replies to replies to non-followed users
-rw-r--r-- | snitch.cpp | 1 | ||||
m--------- | vendor/libtwittercpp | 0 |
2 files changed, 1 insertions, 0 deletions
diff --git a/snitch.cpp b/snitch.cpp index ce4109d..b1f01a3 100644 --- a/snitch.cpp +++ b/snitch.cpp | |||
@@ -26,6 +26,7 @@ int main(int argc, char** argv) | |||
26 | 26 | ||
27 | twitter::client client(auth); | 27 | twitter::client client(auth); |
28 | std::set<twitter::user_id> streamed_friends; | 28 | std::set<twitter::user_id> streamed_friends; |
29 | client.setUserStreamReceiveAllReplies(true); | ||
29 | client.setUserStreamNotifyCallback([&] (twitter::notification n) { | 30 | client.setUserStreamNotifyCallback([&] (twitter::notification n) { |
30 | if (n.getType() == twitter::notification::type::friends) | 31 | if (n.getType() == twitter::notification::type::friends) |
31 | { | 32 | { |
diff --git a/vendor/libtwittercpp b/vendor/libtwittercpp | |||
Subproject cec9786bc11c897a00cf7ab8baafb142a709ba2 | Subproject 501880160ac69f90143bc38add541731a9242ab | ||