mirror of
https://github.com/nextcloud/talk-android
synced 2025-03-07 06:39:45 +00:00
Split condition
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
This commit is contained in:
parent
bcd3893e7d
commit
7cfee8f848
@ -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