|
|
|
@ -344,8 +344,13 @@ struct ap_object* activity_create_Note( struct status* s )
|
|
|
|
|
array_append( &act->tags, sizeof(tag), &tag );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
str = aformat( "https://%s/owner/followers", g_server->domain );
|
|
|
|
|
array_append( &act->cc, sizeof(str), &str );
|
|
|
|
|
switch( s->visibility ) {
|
|
|
|
|
case status_visibility_public:
|
|
|
|
|
case status_visibility_unlisted:
|
|
|
|
|
str = aformat( "https://%s/owner/followers", g_server->domain );
|
|
|
|
|
array_append( &act->cc, sizeof(str), &str );
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
for( int i = 0; i < s->mentions.count; ++i ) {
|
|
|
|
|
struct account* mentioned = account_from_id( s->mentions.items[i] );
|
|
|
|
|