mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-02-02 01:44:14 +00:00
fix #351
This commit is contained in:
parent
187e052240
commit
fa4d228080
@ -1624,7 +1624,7 @@ bool usernameExists(std::string const &username)
|
||||
|
||||
bool createSignedUserpost(entry &v, std::string const &username, int k,
|
||||
int flag, std::string const &msg,
|
||||
entry const *ent, entry const *sig,
|
||||
entry const *ent, entry const *sig_rtfav,
|
||||
std::string const &reply_n = "", int reply_k = 0)
|
||||
{
|
||||
entry &userpost = v["userpost"];
|
||||
@ -1657,12 +1657,12 @@ bool createSignedUserpost(entry &v, std::string const &username, int k,
|
||||
}
|
||||
//userpost["t"] = "rt";
|
||||
userpost["rt"] = *ent;
|
||||
userpost["sig_rt"] = *sig;
|
||||
userpost["sig_rt"] = *sig_rtfav;
|
||||
break;
|
||||
}
|
||||
case USERPOST_FLAG_FAV:
|
||||
userpost["fav"] = *ent;
|
||||
userpost["sig_fav"] = *sig;
|
||||
userpost["sig_fav"] = *sig_rtfav;
|
||||
break;
|
||||
case USERPOST_FLAG_DM:
|
||||
//userpost["t"] = "dm";
|
||||
|
Loading…
x
Reference in New Issue
Block a user