mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-09 19:50:26 +03:00
Commented out received unboosts (see code for an explanation).
This commit is contained in:
parent
a7bd9b63e4
commit
dba0630660
@ -1962,7 +1962,12 @@ int process_input_message(snac *snac, xs_dict *msg, xs_dict *req)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
if (strcmp(utype, "Announce") == 0) { /** **/
|
if (strcmp(utype, "Announce") == 0) { /** **/
|
||||||
int status = object_unadmire(id, actor, 0);
|
int status = 200;
|
||||||
|
|
||||||
|
/* commented out: if a followed user boosts something that
|
||||||
|
is requested and then unboosts, the post remains here,
|
||||||
|
but with no apparent reason, and that is confusing */
|
||||||
|
//status = object_unadmire(id, actor, 0);
|
||||||
|
|
||||||
snac_log(snac, xs_fmt("Unboost for %s %d", id, status));
|
snac_log(snac, xs_fmt("Unboost for %s %d", id, status));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user