From a6505ddcf994879e6615e1be9c8c171f6f21aec7 Mon Sep 17 00:00:00 2001 From: digital dreamer Date: Tue, 3 Jun 2014 09:17:33 +0200 Subject: [PATCH] use twister.conf argument to enable direct messages --- src/twister_rss.cpp | 62 ++++++++++++++++++++++++--------------------- 1 file changed, 33 insertions(+), 29 deletions(-) diff --git a/src/twister_rss.cpp b/src/twister_rss.cpp index 25508463..355b1824 100644 --- a/src/twister_rss.cpp +++ b/src/twister_rss.cpp @@ -72,40 +72,44 @@ int generateRSS(string uri, string *output) params2.push_back(max); params2.push_back(postSources); Array posts = getposts(params2,false).get_array(); - Array params3; - params3.push_back(account); - params3.push_back(max); - params3.push_back(postSources); - Object messages = getdirectmsgs(params3,false).get_obj(); vector outputVector; - - for(int j=0;j