Dun-sin / Whisper

A fun Application to have a random chat with people safely
https://whisper.favour.dev/
MIT License
390 stars 367 forks source link

[BUG] Message not sending #610

Closed Dun-sin closed 5 months ago

Dun-sin commented 5 months ago

Description

Tried to send a message and got this error: Uncaught (in promise) TypeError: SubtleCrypto.encrypt: Argument 2 is not an object.

Think this steams from this part, possibly the second argument is undefined: https://github.com/Dun-sin/Whisper/blob/main/client/src/components/Chat.jsx#L122-L131

Screenshots

Screenshot (1)

Additional information

No response

🥦 Browser

Mozilla Firefox

👀 Have you checked if this issue has been raised before?

🏢 Have you read the Contributing Guidelines?

Are you willing to work on this issue ?

None

github-actions[bot] commented 5 months ago

It's great having you contribute to this project by creating an issue

Make sure you are assigned to this before you work on it and you read the Contributing.md file, Thank you! Welcome to the community :nerd_face:

github-actions[bot] commented 5 months ago

The issue has been unlocked and is now ready for dev. If you would like to work on this issue, you can comment to have it assigned to you.

Dun-sin commented 5 months ago

@Aryakoste you worked on this, what do you think is wrong?