0
0
Fork 0

バグ修正など

This commit is contained in:
xeltica 2021-10-03 03:12:53 +09:00
parent e2e6185aa4
commit 6903530e51
3 changed files with 17 additions and 9 deletions

View file

@ -29,7 +29,7 @@ export class SessionController {
if (setting.visibility != null) s.visibility = setting.visibility;
if (setting.localOnly != null) s.localOnly = setting.localOnly;
if (setting.remoteFollowersOnly != null) s.remoteFollowersOnly = setting.remoteFollowersOnly;
if (setting.template != null) s.template = setting.template;
if (setting.template !== undefined) s.template = setting.template;
if (Object.keys(s).length === 0) return;
await updateUser(user.username, user.host, s);
}