|
|
|
@ -245,7 +245,8 @@ static const CRPCCommand vRPCCommands[] =
@@ -245,7 +245,8 @@ static const CRPCCommand vRPCCommands[] =
|
|
|
|
|
{ "getspammsg", &getspammsg, false, true }, |
|
|
|
|
{ "follow", &follow, false, true }, |
|
|
|
|
{ "unfollow", &unfollow, false, true }, |
|
|
|
|
{ "getfollowing", &getfollowing, false, true }, |
|
|
|
|
{ "getfollowing", &getfollowing, false, true }, |
|
|
|
|
{ "listusernamespartial", &listusernamespartial, false, true }, |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
CRPCTable::CRPCTable() |
|
|
|
@ -1194,6 +1195,7 @@ Array RPCConvertValues(const std::string &strMethod, const std::vector<std::stri
@@ -1194,6 +1195,7 @@ Array RPCConvertValues(const std::string &strMethod, const std::vector<std::stri
|
|
|
|
|
if (strMethod == "getposts" && n > 1) ConvertTo<Array>(params[1]); |
|
|
|
|
if (strMethod == "follow" && n > 0) ConvertTo<Array>(params[0]); |
|
|
|
|
if (strMethod == "unfollow" && n > 0) ConvertTo<Array>(params[0]); |
|
|
|
|
if (strMethod == "listusernamespartial" && n > 1) ConvertTo<boost::int64_t>(params[1]); |
|
|
|
|
|
|
|
|
|
return params; |
|
|
|
|
} |
|
|
|
|