fixup! Provide federation values when joining a room in the external signaling

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
This commit is contained in:
Daniel Calviño Sánchez 2024-08-28 13:26:35 +02:00 committed by Marcel Hibbe
parent 0ff783ef0b
commit 166107d7d2
No known key found for this signature in database
GPG key ID: C793F8B59F43CE7B

View file

@ -0,0 +1,28 @@
/*
* Nextcloud Talk - Android Client
*
* SPDX-FileCopyrightText: 2024 Daniel Calviño Sánchez <danxuliu@gmail.com>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
package com.nextcloud.talk.models.json.websocket
import android.os.Parcelable
import com.bluelinelabs.logansquare.annotation.JsonField
import com.bluelinelabs.logansquare.annotation.JsonObject
import kotlinx.parcelize.Parcelize
@Parcelize
@JsonObject
class RoomFederationWebSocketMessage(
@JsonField(name = ["signaling"])
var signaling: String? = null,
@JsonField(name = ["url"])
var url: String? = null,
@JsonField(name = ["roomid"])
var roomid: String? = null,
@JsonField(name = ["token"])
var token: String? = null
) : Parcelable {
// This constructor is added to work with the 'com.bluelinelabs.logansquare.annotation.JsonObject'
constructor() : this(null, null, null, null)
}