8go / 8go/matrix-commander

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

Abierto
#199 6 comentarios 1 reacción 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
754
Forks
69
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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"?

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
python, shell
Área
backend-api-design, cli
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Tranquilo
Claridad
Bastante claro
Aptitud para principiantes
55/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.