mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-23 21:45:42 +03:00
Clean ups
This commit is contained in:
parent
5dd36a2fcc
commit
3f4d249838
3 changed files with 2 additions and 3 deletions
|
@ -33,7 +33,7 @@ import lombok.Data;
|
|||
@Parcel
|
||||
public class CallWebSocketMessage {
|
||||
@JsonField(name = "recipient")
|
||||
ActorWebSocketMessage actorWebSocketMessage;
|
||||
ActorWebSocketMessage recipientWebSocketMessage;
|
||||
|
||||
@JsonField(name = "sender")
|
||||
ActorWebSocketMessage senderWebSocketMessage;
|
||||
|
|
|
@ -127,7 +127,6 @@ public class MagicWebSocketInstance extends WebSocketListener {
|
|||
}
|
||||
break;
|
||||
case "event":
|
||||
// Nothing for now
|
||||
EventOverallWebSocketMessage eventOverallWebSocketMessage = LoganSquare.parse(text, EventOverallWebSocketMessage.class);
|
||||
if (eventOverallWebSocketMessage.getEventMap() != null) {
|
||||
String target = (String) eventOverallWebSocketMessage.getEventMap().get("target");
|
||||
|
|
|
@ -146,7 +146,7 @@ public class WebSocketConnectionHelper {
|
|||
ActorWebSocketMessage actorWebSocketMessage = new ActorWebSocketMessage();
|
||||
actorWebSocketMessage.setType("session");
|
||||
actorWebSocketMessage.setSessionId(ncMessageWrapper.getSignalingMessage().getTo());
|
||||
callWebSocketMessage.setActorWebSocketMessage(actorWebSocketMessage);
|
||||
callWebSocketMessage.setRecipientWebSocketMessage(actorWebSocketMessage);
|
||||
callWebSocketMessage.setNcSignalingMessage(ncMessageWrapper.getSignalingMessage());
|
||||
|
||||
callOverallWebSocketMessage.setCallWebSocketMessage(callWebSocketMessage);
|
||||
|
|
Loading…
Reference in a new issue