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

What is maximal event size? #29

Open Benjamin-Loison opened 1 month ago

Benjamin-Loison commented 1 month ago

On Overclock3000_notifications:

./notifyOnPlayStoreAppUpdate.py
2024-09-24 01:00:12,944:     INFO: nio.client.base_client: New joined room !XXXXXXXXXXXXXXXXXX:matrix.org
2024-09-24 01:00:12,944:     INFO:        nio.rooms: Room !XXXXXXXXXXXXXXXXXX:matrix.org handling event of type RoomGuestAccessEvent
2024-09-24 01:00:12,944:     INFO:        nio.rooms: Room !XXXXXXXXXXXXXXXXXX:matrix.org handling event of type RoomJoinRulesEvent
2024-09-24 01:00:12,945:     INFO:        nio.rooms: Room !XXXXXXXXXXXXXXXXXX:matrix.org handling event of type RoomCreateEvent
2024-09-24 01:00:12,945:     INFO:        nio.rooms: Room !XXXXXXXXXXXXXXXXXX:matrix.org handling event of type RoomEncryptionEvent
2024-09-24 01:00:12,945:     INFO:        nio.rooms: Room !XXXXXXXXXXXXXXXXXX:matrix.org handling event of type RoomHistoryVisibilityEvent
2024-09-24 01:00:12,945:     INFO:        nio.rooms: Room !XXXXXXXXXXXXXXXXXX:matrix.org handling event of type PowerLevelsEvent
2024-09-24 01:00:12,945:     INFO:        nio.rooms: Changing power level for user @benjamin_loison:matrix.org from 0 to 100
2024-09-24 01:00:12,945:     INFO:        nio.rooms: Changing power level for user @overclock3000:matrix.org from 0 to 100
2024-09-24 01:00:12,945:     INFO:        nio.rooms: Room !XXXXXXXXXXXXXXXXXX:matrix.org handling event of type RoomMessageText
2024-09-24 01:00:12,945:     INFO:        nio.rooms: Room !XXXXXXXXXXXXXXXXXX:matrix.org handling event of type ReactionEvent
2024-09-24 01:00:13,174:     INFO:   nio.crypto.log: Sharing group session for room !XXXXXXXXXXXXXXXXXX:matrix.org
2024-09-24 01:00:13,174:     INFO:   nio.crypto.log: Creating outbound group session for !XXXXXXXXXXXXXXXXXX:matrix.org
2024-09-24 01:00:13,174:     INFO:   nio.crypto.log: Creating inbound group session for !XXXXXXXXXXXXXXXXXX:matrix.org from XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
2024-09-24 01:00:13,205:     INFO:   nio.crypto.log: Created outbound group session for !XXXXXXXXXXXXXXXXXX:matrix.org
2024-09-24 01:00:14,254:     INFO: nio.client.base_client: Marking outbound group session for room !XXXXXXXXXXXXXXXXXX:matrix.org as shared
2024-09-24 01:00:14,938:    ERROR: matrix-commander: E150: room_send failed with error 'RoomSendError: M_TOO_LARGE event too large'.
2024-09-24 01:00:14,938:    ERROR: matrix-commander: E151: Message send failed. Sorry.
2024-09-24 01:00:14,943:     INFO: matrix-commander: 1 error and 0 warnings occurred.
Benjamin-Loison commented 1 month ago

It seems to be below 1,144,006 bytes being the HTML retrieved from OverClock3000 for com.discord.