8go / 8go/matrix-commander

--listen --tail with a large number only getting a small number of messages

オープン
#199 コメント 6 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
754
フォーク
69
PR マージ指標
30日以内にマージされた PR はありません

説明

I'm using a command like this:

```shell
matrix-commander \
--import-keys ../element-keys.txt "secret password" \
--room '!blahblah:matrix.org' \
--tail 1000000 \
--listen tail \
--listen-self \
--output json > chatlog.json
```

When I do this, I get about 1000 messages reaching back about a month. But I know that the room has far more messages than that. Increasing the value given to `--tail` doesn't change anything?

Am I doing something wrong? Is there some other way to say "get all the messages all the way back to room creation"?

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Look at the code handling the --tail and --listen flags, likely in the main command-line parsing and message fetching logic. Examine how the Matrix API pagination is implemented to understand why only ~1000 messages are retrieved. Check if there's a hard limit or pagination issue. Running the command with debug output or inspecting the network requests could help identify the bottleneck.

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

評価

技術スタック
python, shell
領域
backend-api-design, cli
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
55/100

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

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