You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also happens when quickly clicking send button (in textbox) and image can be sent as many times as you pressed send button.
For some reason it only happens when you send image for the first time in app, after first time there are no delays between pressing send button and resetting message input, regardless of app restarts or selected conversation.
VityaSchel
added a commit
to VityaSchel/session-desktop
that referenced
this issue
May 9, 2024
This happens because getFiles function in CompositionBoxInner takes long time to complete and nothing stops user from calling onSendMessage() multiple times. I have added isSendingMessage boolean property to class and early return that checks if isSendingMessage is set to true. I have added finally clause to prevent user from app lock in sending message state if any errors occur in this function: #3100
Small one: if hit enter like crazy while uploading an image to chat, it will be sent twice.
The text was updated successfully, but these errors were encountered: