about summary refs log tree commit diff stats
path: root/snitch.cpp
diff options
context:
space:
mode:
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 {