mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-09 06:18:02 +00:00
Match indentation style
This commit is contained in:
parent
7387619c2b
commit
d048d86300
@ -68,7 +68,8 @@ int generateRSS(string uri, string *output)
|
|||||||
Array followingArray = getfollowing(params1,false).get_array();
|
Array followingArray = getfollowing(params1,false).get_array();
|
||||||
Array postSources;
|
Array postSources;
|
||||||
|
|
||||||
if(author=="") {
|
if(author=="")
|
||||||
|
{
|
||||||
// default fetch posts from all followed authors
|
// default fetch posts from all followed authors
|
||||||
for(int i=0;i<followingArray.size();i++)
|
for(int i=0;i<followingArray.size();i++)
|
||||||
{
|
{
|
||||||
@ -76,7 +77,9 @@ int generateRSS(string uri, string *output)
|
|||||||
item.push_back(Pair("username",followingArray[i]));
|
item.push_back(Pair("username",followingArray[i]));
|
||||||
postSources.push_back(item);
|
postSources.push_back(item);
|
||||||
}
|
}
|
||||||
} else {
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
// a single author has been specified to fetch posts from
|
// a single author has been specified to fetch posts from
|
||||||
Object item;
|
Object item;
|
||||||
item.push_back(Pair("username",author));
|
item.push_back(Pair("username",author));
|
||||||
|
Loading…
Reference in New Issue
Block a user