talk-android/app
Daniel Calviño Sánchez d63bb31595
Fix "send" not respecting order of pending messages
When the data channel is not open yet data channel messages are queued
and then sent once opened. "onStateChange" is called from the WebRTC
signaling thread, while "send" can be called potentially from any
thread, so to send the data channel messages in the same order that they
were added new messages need to be enqueued until all the pending
messages have been sent. Otherwise, even if there is synchronization
already, it could happen that "onStateChange" was called but, before
getting the lock, "send" gets it and sends the new message before the
pending messages were sent.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-01-03 10:52:43 +01:00
..
schemas/com.nextcloud.talk.data.source.local.TalkDatabase add 12.json which includes modifications for "hasArchived" 2024-11-05 13:49:10 +01:00
src Fix "send" not respecting order of pending messages 2025-01-03 10:52:43 +01:00
build.gradle Weekly 21.0.0 Alpha 07 2024-12-30 03:10:49 +00:00
lint.xml
proguard-rules.pro