bug: Messages missing in chat

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

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

  • #7506 @diegolmello による — マージされずにクローズ

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
活発
技術スタック
android, react-native, typescript
領域
mobile

調査の方向性

まず、報告されている E2E-chat セットアップを使用して Android で通知からチャットへのフローを再現し、アプリを再度開いた後の動作を比較します。チャット一覧のプレビューにはメッセージが表示されるのに、チャット内には表示されない理由を追跡します。再起動や別のクライアントを必要とせず、新しく受信および送信したメッセージがモバイルチャットに一貫して表示されれば完了です。

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

説明

🐛 bug type: bug
Describe the Bug

Frequently, new messages are missing. Some times even when sending a message, the chat doesn't show the message that was just sent.
But the biggest issue is when someone else sends a message and clicking the notification, only to land in a chat with no new messages. At that point, going back to chat selection shows the new message as the latest message, in the one-line preview. Clicking it goes back into the chat, where there are still no new messages.

Some notes:

  1. I only use E2E chats on my deployment.
  2. This is happening on multiple android devices with Android 15-17.
  3. The desktop app and webapps do NOT have this issue. Only the android app. I don't have an iOS device to test, but it must be happening there too.
  4. Killing the app and re-opening it before sending a new message when the bug happens, brings the messages back into the chat. If the user facing the bug sends a message before killing the app and restarting, it's impossible to recover them. The only solution is to open the webapp or desktop app.
  5. This has been happening for a while, probably since 7.x rocketchat..
Steps to Reproduce
  1. Click notification
  2. The new messages are missing
Expected Behavior

I expect the messages to show up properly in the mobile chat, like they do on webapp and desktop app.

Actual Behavior

Messages are missing.

Rocket.Chat Server Version

8.5.1

Rocket.Chat App Version

Latest Beta

Device Name

Redmi Note 11, Samsung Galaxy M31

OS Version

Android 15, 16, 17

Additional Context

No response

主要言語
TypeScript
スター
2.4k
フォーク
1.5k
平均マージ
1日 15時間
マージ済み PR(30日)
29

環境構築

はじめの一歩

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

RocketChat/Rocket.Chat.ReactNative のほかの issue

RocketChat/Rocket.Chat.ReactNative の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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