Benjamin-Loison / matrix-commander

simple but convenient CLI-based Matrix client app for sending and receiving
GNU General Public License v3.0
0 stars 0 forks source link

`matrix-commander --room-redact` does not wait if during the treatment of the multiple arguments `RoomRedactError: M_LIMIT_EXCEEDED Too Many Requests - retry after Xms` starts appearing #15

Open Benjamin-Loison opened 6 months ago

Benjamin-Loison commented 6 months ago

So it seems clear that matrix-commander is just proceeding one redaction at a time.

...
2024-05-17 12:11:41,097:     INFO: matrix-commander: Successfully redacted event $CENSORED in room !CENSORED:matrix.org providing reason 'Spam'.
2024-05-17 12:11:41,338:     INFO: matrix-commander: Successfully redacted event $CENSORED in room !CENSORED:matrix.org providing reason 'Spam'.
2024-05-17 12:11:41,440:    ERROR: matrix-commander: E213: Failed to redact event $CENSORED in room !CENSORED:matrix.org with reason 'Spam'. Response: RoomRedactError: M_LIMIT_EXCEEDED Too Many Requests - retry after 1936ms
2024-05-17 12:11:41,507:    ERROR: matrix-commander: E213: Failed to redact event $CENSORED in room !CENSORED:matrix.org with reason 'Spam'. Response: RoomRedactError: M_LIMIT_EXCEEDED Too Many Requests - retry after 1860ms
...

Would help #8.