Use map directly
This commit is contained in:
parent
e8ce2898b6
commit
9d2cc10083
@ -298,9 +298,7 @@ class DirectMessagesService private constructor(
|
|||||||
userIds: List<Long>,
|
userIds: List<Long>,
|
||||||
threadTitle: String?,
|
threadTitle: String?,
|
||||||
): Call<DirectThread?> {
|
): Call<DirectThread?> {
|
||||||
val userIdStringList = userIds.asSequence()
|
val userIdStringList = userIds.map { it.toString() }
|
||||||
.filterNotNull()
|
|
||||||
.map { it.toString() }
|
|
||||||
val form = mutableMapOf<String, Any>(
|
val form = mutableMapOf<String, Any>(
|
||||||
"_csrftoken" to csrfToken,
|
"_csrftoken" to csrfToken,
|
||||||
"_uuid" to deviceUuid,
|
"_uuid" to deviceUuid,
|
||||||
|
Loading…
Reference in New Issue
Block a user