diff options
| author | Acid Chicken (硫酸鶏) <root@acid-chicken.com> | 2023-07-27 00:58:37 +0900 |
|---|---|---|
| committer | Acid Chicken (硫酸鶏) <root@acid-chicken.com> | 2023-07-27 00:58:37 +0900 |
| commit | 090253c2d2cbed5818a6e071bca3970fcff7a72a (patch) | |
| tree | 7f0ca5d701b47b50d8b147cb939e29d4fcd23feb | |
| parent | build: close #10953 (diff) | |
| download | sharkey-090253c2d2cbed5818a6e071bca3970fcff7a72a.tar.gz sharkey-090253c2d2cbed5818a6e071bca3970fcff7a72a.tar.bz2 sharkey-090253c2d2cbed5818a6e071bca3970fcff7a72a.zip | |
fix(frontend): replies to channel posts could change the visibility
| -rw-r--r-- | packages/frontend/src/components/MkNote.vue | 1 | ||||
| -rw-r--r-- | packages/frontend/src/components/MkNoteDetailed.vue | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/packages/frontend/src/components/MkNote.vue b/packages/frontend/src/components/MkNote.vue index 37315e2c2e..02431a4557 100644 --- a/packages/frontend/src/components/MkNote.vue +++ b/packages/frontend/src/components/MkNote.vue @@ -341,6 +341,7 @@ function reply(viaKeyboard = false): void { pleaseLogin(); os.post({ reply: appearNote, + channel: appearNote.channel, animation: !viaKeyboard, }, () => { focus(); diff --git a/packages/frontend/src/components/MkNoteDetailed.vue b/packages/frontend/src/components/MkNoteDetailed.vue index 7e9f7fc5a1..a40b9cd2bd 100644 --- a/packages/frontend/src/components/MkNoteDetailed.vue +++ b/packages/frontend/src/components/MkNoteDetailed.vue @@ -320,6 +320,7 @@ function reply(viaKeyboard = false): void { showMovedDialog(); os.post({ reply: appearNote, + channel: appearNote.channel, animation: !viaKeyboard, }, () => { focus(); |