@@ 41,10 41,6 @@ func deletemymsgs(roomID id.RoomID, types []string) error {
// stop mautrix from ignoring unparsable events
syncer.ParseEventContent = false
syncer.OnEvent(func (source mautrix.EventSource, evt *event.Event) {
- // try parsing; normally this is done for us, but we're doing it
- // manually since there may be unparsable events (say, when the
- // room contains custom events)
- evt.Content.ParseRaw(evt.Type)
// skip events that we didn't send
if evt.Sender != client.UserID {
return