about summary refs log tree commit diff stats
path: root/snitch.cpp
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2016-05-25 21:35:21 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2016-05-25 21:35:21 -0400
commit1f826b63bbfc90e88537a5f9251040c9807497c2 (patch)
tree9c47caf21d725ad94ef0c737384baa91a83a8eaa /snitch.cpp
parent0b8ffe05381fc66583db65e917022f5d5df5e09b (diff)
downloadsnitch-1f826b63bbfc90e88537a5f9251040c9807497c2.tar.gz
snitch-1f826b63bbfc90e88537a5f9251040c9807497c2.tar.bz2
snitch-1f826b63bbfc90e88537a5f9251040c9807497c2.zip
Now properly replies to replies to non-followed users
Diffstat (limited to 'snitch.cpp')
-rw-r--r--snitch.cpp1
1 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 {