mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-28 20:06:44 -06:00
fix(server): Fix #6669
This commit is contained in:
parent
c2d7929391
commit
42d1c67d56
1 changed files with 1 additions and 0 deletions
|
@ -135,6 +135,7 @@ export default async (user: User, data: Option, silent = false) => new Promise<N
|
||||||
if (data.localOnly == null) data.localOnly = false;
|
if (data.localOnly == null) data.localOnly = false;
|
||||||
if (data.channel != null) data.visibility = 'public';
|
if (data.channel != null) data.visibility = 'public';
|
||||||
if (data.channel != null) data.visibleUsers = [];
|
if (data.channel != null) data.visibleUsers = [];
|
||||||
|
if (data.channel != null) data.localOnly = true;
|
||||||
|
|
||||||
// サイレンス
|
// サイレンス
|
||||||
if (user.isSilenced && data.visibility === 'public' && data.channel == null) {
|
if (user.isSilenced && data.visibility === 'public' && data.channel == null) {
|
||||||
|
|
Loading…
Reference in a new issue