Closed frebib closed 1 month ago
2023-08-29T19:41:04Z ERR Failed to send message error="failed to PUT /_matrix/client/v3/rooms/!<snip>/send/m.room.encrypted/mautrix-go_1693338064430802521_1: M_FORBIDDEN (HTTP 403): You don't have permission to post that to the room. user_level (0) < send_level (99)" action="missed forward backfill" latest_message_id=24 part_id=456 part_index=0 portal_id=11 portal_receiver=1 room_id=<snip> panic: runtime error: index out of range [0] with length 0 goroutine 205 [running]: main.(*Portal).sendMessageParts(0x0?, {0x1088de0, 0xc000b449f0}, 0xc000bd8360, 0xc0008698b0) /builds/mautrix/gmessages/portal.go:668 +0x71d main.(*Portal).backfillSendLegacy(0xc0002f8460?, {0x1088de0, 0xc000b449f0}, {0xc000bca1a0, 0x2d, 0x162a500?}) /builds/mautrix/gmessages/backfill.go:281 +0xf2 main.(*Portal).forwardBackfill(0xc000739800, {0x1088de0, 0xc000b449f0}, 0xc00033a000, {0x162a500?, 0x8e?, 0x162a500?}, 0x64, 0x1, 0x1) /builds/mautrix/gmessages/backfill.go:173 +0x70c main.(*Portal).missedForwardBackfill(0xc000739800, 0xc00033a000?, {0x95ba140?, 0xedbfaeb70?, 0x162a500?}, {0xc00088ecd0, 0x2}, 0x1, 0x0) /builds/mautrix/gmessages/backfill.go:114 +0xad5 created by main.(*User).syncConversation in goroutine 147 /builds/mautrix/gmessages/user.go:853 +0xbf7