When you report a user in an individual chat, WhatsApp receives up to five of the last messages they’ve sent to you.
This particular function is not at odds with E2EE. The client can either:
- Send decrypted messages to the server. This is flawed because a malicious client can fake them, setting someone up for a ban;
- Send the keys so that the server can decrypt the messages. Depending on how often keys are rotated, this might leak a couple more messages than intended.