fix: add safeguard for message double send
Signed-off-by: Infi <infi@infi.sh>
This commit is contained in:
parent
ba6edec5a5
commit
cdc944a571
|
|
@ -177,6 +177,7 @@ class ChannelScreenViewModel : ViewModel() {
|
|||
return
|
||||
}
|
||||
|
||||
if (isSendingMessage) return
|
||||
isSendingMessage = true
|
||||
|
||||
viewModelScope.launch {
|
||||
|
|
|
|||
Loading…
Reference in New Issue