fix(frontend): replies to channel posts could change the visibility

This commit is contained in:
Acid Chicken (硫酸鶏) 2023-07-27 00:58:37 +09:00
parent cf3ac3c0be
commit 090253c2d2
No known key found for this signature in database
GPG Key ID: 3E87B98A3F6BAB99
2 changed files with 2 additions and 0 deletions

View File

@ -341,6 +341,7 @@ function reply(viaKeyboard = false): void {
pleaseLogin(); pleaseLogin();
os.post({ os.post({
reply: appearNote, reply: appearNote,
channel: appearNote.channel,
animation: !viaKeyboard, animation: !viaKeyboard,
}, () => { }, () => {
focus(); focus();

View File

@ -320,6 +320,7 @@ function reply(viaKeyboard = false): void {
showMovedDialog(); showMovedDialog();
os.post({ os.post({
reply: appearNote, reply: appearNote,
channel: appearNote.channel,
animation: !viaKeyboard, animation: !viaKeyboard,
}, () => { }, () => {
focus(); focus();