mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-24 05:55:39 +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
|
@Parcel
|
||||||
public class CallWebSocketMessage {
|
public class CallWebSocketMessage {
|
||||||
@JsonField(name = "recipient")
|
@JsonField(name = "recipient")
|
||||||
ActorWebSocketMessage actorWebSocketMessage;
|
ActorWebSocketMessage recipientWebSocketMessage;
|
||||||
|
|
||||||
@JsonField(name = "sender")
|
@JsonField(name = "sender")
|
||||||
ActorWebSocketMessage senderWebSocketMessage;
|
ActorWebSocketMessage senderWebSocketMessage;
|
||||||
|
|
|
@ -127,7 +127,6 @@ public class MagicWebSocketInstance extends WebSocketListener {
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case "event":
|
case "event":
|
||||||
// Nothing for now
|
|
||||||
EventOverallWebSocketMessage eventOverallWebSocketMessage = LoganSquare.parse(text, EventOverallWebSocketMessage.class);
|
EventOverallWebSocketMessage eventOverallWebSocketMessage = LoganSquare.parse(text, EventOverallWebSocketMessage.class);
|
||||||
if (eventOverallWebSocketMessage.getEventMap() != null) {
|
if (eventOverallWebSocketMessage.getEventMap() != null) {
|
||||||
String target = (String) eventOverallWebSocketMessage.getEventMap().get("target");
|
String target = (String) eventOverallWebSocketMessage.getEventMap().get("target");
|
||||||
|
|
|
@ -146,7 +146,7 @@ public class WebSocketConnectionHelper {
|
||||||
ActorWebSocketMessage actorWebSocketMessage = new ActorWebSocketMessage();
|
ActorWebSocketMessage actorWebSocketMessage = new ActorWebSocketMessage();
|
||||||
actorWebSocketMessage.setType("session");
|
actorWebSocketMessage.setType("session");
|
||||||
actorWebSocketMessage.setSessionId(ncMessageWrapper.getSignalingMessage().getTo());
|
actorWebSocketMessage.setSessionId(ncMessageWrapper.getSignalingMessage().getTo());
|
||||||
callWebSocketMessage.setActorWebSocketMessage(actorWebSocketMessage);
|
callWebSocketMessage.setRecipientWebSocketMessage(actorWebSocketMessage);
|
||||||
callWebSocketMessage.setNcSignalingMessage(ncMessageWrapper.getSignalingMessage());
|
callWebSocketMessage.setNcSignalingMessage(ncMessageWrapper.getSignalingMessage());
|
||||||
|
|
||||||
callOverallWebSocketMessage.setCallWebSocketMessage(callWebSocketMessage);
|
callOverallWebSocketMessage.setCallWebSocketMessage(callWebSocketMessage);
|
||||||
|
|
Loading…
Reference in a new issue