mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-22 04:55:29 +03:00
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:
parent
0ff783ef0b
commit
166107d7d2
1 changed files with 28 additions and 0 deletions
|
@ -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)
|
||||
}
|
Loading…
Reference in a new issue