Fix bug where likes weren't being tracked

master
teknomunk 1 year ago
parent 2f07d4d040
commit b0a4f53375

@ -747,6 +747,9 @@ void status_add_like( struct status* s, struct account* a )
}
}
int id = a->id;
array_append( &s->likes, sizeof(id), &id );
if( !s->stub ) {
if( s->account_id == owner_account_id ) {
if( a->id != owner_account_id ) {

Loading…
Cancel
Save