Merge 0cf68c7ce4
into b231da7c7c
This commit is contained in:
commit
5b57d36820
|
@ -280,13 +280,8 @@ export class NoteCreateService implements OnApplicationShutdown {
|
||||||
if (data.renote) {
|
if (data.renote) {
|
||||||
switch (data.renote.visibility) {
|
switch (data.renote.visibility) {
|
||||||
case 'public':
|
case 'public':
|
||||||
// public noteは無条件にrenote可能
|
|
||||||
break;
|
|
||||||
case 'home':
|
case 'home':
|
||||||
// home noteはhome以下にrenote可能
|
// notes with public audience can have any visibility
|
||||||
if (data.visibility === 'public') {
|
|
||||||
data.visibility = 'home';
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
case 'followers':
|
case 'followers':
|
||||||
// 他人のfollowers noteはreject
|
// 他人のfollowers noteはreject
|
||||||
|
|
Loading…
Reference in New Issue