mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-23 13:40:43 +01:00
fix klint warnings
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
4f1a188a38
commit
73ce2716de
@ -272,7 +272,8 @@ class MagicFirebaseMessagingService : FirebaseMessagingService() {
|
|||||||
apiVersion,
|
apiVersion,
|
||||||
signatureVerification.userEntity.baseUrl,
|
signatureVerification.userEntity.baseUrl,
|
||||||
decryptedPushMessage.id
|
decryptedPushMessage.id
|
||||||
), null
|
),
|
||||||
|
null
|
||||||
)
|
)
|
||||||
.repeatWhen { completed ->
|
.repeatWhen { completed ->
|
||||||
completed.zipWith(Observable.range(1, 12), { _, i -> i })
|
completed.zipWith(Observable.range(1, 12), { _, i -> i })
|
||||||
|
@ -28,23 +28,23 @@ import kotlinx.android.parcel.Parcelize
|
|||||||
@JsonObject
|
@JsonObject
|
||||||
data class Mention(
|
data class Mention(
|
||||||
@JsonField(name = ["id"])
|
@JsonField(name = ["id"])
|
||||||
var id : String,
|
var id: String,
|
||||||
|
|
||||||
@JsonField(name = ["label"])
|
@JsonField(name = ["label"])
|
||||||
var label : String,
|
var label: String,
|
||||||
|
|
||||||
// type of user (guests or users or calls)
|
// type of user (guests or users or calls)
|
||||||
@JsonField(name = ["source"])
|
@JsonField(name = ["source"])
|
||||||
var source : String,
|
var source: String,
|
||||||
|
|
||||||
@JsonField(name = ["status"])
|
@JsonField(name = ["status"])
|
||||||
var status : String?,
|
var status: String?,
|
||||||
|
|
||||||
@JsonField(name = ["statusIcon"])
|
@JsonField(name = ["statusIcon"])
|
||||||
var statusIcon : String?,
|
var statusIcon: String?,
|
||||||
|
|
||||||
@JsonField(name = ["statusMessage"])
|
@JsonField(name = ["statusMessage"])
|
||||||
var statusMessage : String?
|
var statusMessage: String?
|
||||||
|
|
||||||
) : Parcelable {
|
) : Parcelable {
|
||||||
// This constructor is added to work with the 'com.bluelinelabs.logansquare.annotation.JsonObject'
|
// This constructor is added to work with the 'com.bluelinelabs.logansquare.annotation.JsonObject'
|
||||||
|
@ -12,7 +12,7 @@ data class ClearAt(
|
|||||||
var type: String,
|
var type: String,
|
||||||
@JsonField(name = ["time"])
|
@JsonField(name = ["time"])
|
||||||
var time: String
|
var time: String
|
||||||
) : Parcelable{
|
) : Parcelable {
|
||||||
// This constructor is added to work with the 'com.bluelinelabs.logansquare.annotation.JsonObject'
|
// This constructor is added to work with the 'com.bluelinelabs.logansquare.annotation.JsonObject'
|
||||||
constructor() : this("type", "time")
|
constructor() : this("type", "time")
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
package com.nextcloud.talk.models.json.status
|
package com.nextcloud.talk.models.json.status
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
enum class StatusType(val string: String) {
|
enum class StatusType(val string: String) {
|
||||||
ONLINE("online"),
|
ONLINE("online"),
|
||||||
OFFLINE("offline"),
|
OFFLINE("offline"),
|
||||||
|
@ -17,7 +17,7 @@ data class PredefinedStatus(
|
|||||||
var message: String,
|
var message: String,
|
||||||
@JsonField(name = ["clearAt"])
|
@JsonField(name = ["clearAt"])
|
||||||
var clearAt: ClearAt?
|
var clearAt: ClearAt?
|
||||||
) : Parcelable {
|
) : Parcelable {
|
||||||
// This constructor is added to work with the 'com.bluelinelabs.logansquare.annotation.JsonObject'
|
// This constructor is added to work with the 'com.bluelinelabs.logansquare.annotation.JsonObject'
|
||||||
constructor() : this("id", "icon", "message", null)
|
constructor() : this("id", "icon", "message", null)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user