mirror of
https://github.com/nextcloud/talk-android
synced 2025-07-14 16:25:05 +01:00
Split condition
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
This commit is contained in:
parent
f34bc17b36
commit
4eaa2f3e2c
@ -285,8 +285,12 @@ public class PeerConnectionWrapper {
|
||||
* @param dataChannelMessage the message to send
|
||||
*/
|
||||
public void send(DataChannelMessage dataChannelMessage) {
|
||||
if (dataChannelMessage == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
DataChannel statusDataChannel = dataChannels.get("status");
|
||||
if (statusDataChannel == null || dataChannelMessage == null) {
|
||||
if (statusDataChannel == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user