Skip to content

Commit 9821b05

Browse files
committed
Remove override
1 parent 2f65beb commit 9821b05

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

appstate/decode.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ import (
1919
"strings"
2020

2121
"github.com/rs/zerolog"
22-
"go.mau.fi/util/exerrors"
2322
"google.golang.org/protobuf/proto"
2423

2524
waBinary "go.mau.fi/whatsmeow/binary"
@@ -493,13 +492,6 @@ func (proc *Processor) validatePatch(
493492
return nil, nil
494493
}
495494
}
496-
if bytes.Equal(indexMAC, exerrors.Must(hex.DecodeString("a9f10469e5862e0fb7ae1d0d4276e01ee233e29f36d311e4b6e95c6a7827e38b"))) {
497-
zerolog.Ctx(ctx).Debug().Uint64("version", version).Msg("DEBUG: applying hack 1")
498-
return hex.DecodeString("c7d81bdec860404e60f3355304e8114973079146cf845842fe990fce2733d619")
499-
} else if bytes.Equal(indexMAC, exerrors.Must(hex.DecodeString("9384a89d86d59e9623c4c34b55dd6b0db4e0a2d7568ac55b3e1a0cec6bfc6ea5"))) {
500-
zerolog.Ctx(ctx).Debug().Uint64("version", version).Msg("DEBUG: applying hack 2")
501-
return hex.DecodeString("2d2e64fc70aa6b05d7dab825d6b869e5fbbf843332bfcc94ebb4c25a9d3dcd49")
502-
}
503495
// Previous value not found in current patch, look in the database
504496
vm, err := proc.Store.AppState.GetAppStateMutationMAC(ctx, string(patchName), indexMAC)
505497
if vm != nil || err != nil || !allowEvilLIDHack {

0 commit comments

Comments
 (0)