[Bug] /qs preview selection loses the active thread

オープン
#86 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

@MuhammadFaizan-prog がすでに取り組んでいます。

2026年12月3日 から。

  • #87 @MuhammadFaizan-prog による — オープン

評価

難易度
1/5
見積もり時間
1〜3時間
初心者へのやさしさ
20/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
typescript
領域
backend

調査の方向性

Start with QsCommand.executePreviewItem and the existing sendMessage helper, which the issue identifies as the relevant entry points. Check how the Apps Engine thread ID is obtained from the command context, then review the regression coverage for threaded and top-level contexts in the open pull request. Done means selected replies retain the supplied thread ID while top-level replies remain top-level.

索引モデルが issue の本文から書いたものです。

説明

What happened?

When the Apps Engine supplies a thread ID to /qs, selecting a saved reply sends it as a top-level room message. QsCommand.executePreviewItem does not pass the thread ID to sendMessage, although the helper already supports it.

Steps to reproduce
  1. Have a saved quick reply available.
  2. Run /qs from an existing thread and select the reply preview.
  3. Inspect the outgoing message. With a thread ID in the slash-command context, it should be addressed to that thread. Without one, it should remain a top-level message.
Verification

Reproduced on main at fa72dc4 using a Node test with Apps Engine accessors stubbed. The outgoing message had the correct room and text but no thread ID. The top-level control passed. No live Rocket.Chat session was used.

Proposed fix

Forward context.getThreadId() to the existing sendMessage helper. I plan to include regression coverage for both contexts.

AI assistance was used for the local reproduction and report.

主要言語
TypeScript
スター
7
フォーク
22
PR マージ指標
30日以内にマージされた PR はありません

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

RocketChat/Apps.QuickReplies のほかの issue

RocketChat/Apps.QuickReplies の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。