diff options
Diffstat (limited to 'snitch.cpp')
-rw-r--r-- | snitch.cpp | 1 |
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 | { |