mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 03:29:28 +01:00
replace hardcoded number for 1:1 roomtype
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
b707cebf6f
commit
f4a1b73f63
@ -1327,7 +1327,7 @@ class ConversationsListActivity :
|
|||||||
ContactItem.VIEW_TYPE -> {
|
ContactItem.VIEW_TYPE -> {
|
||||||
val contact = item as ContactItem
|
val contact = item as ContactItem
|
||||||
contactsViewModel.createRoom(
|
contactsViewModel.createRoom(
|
||||||
"1",
|
ROOM_TYPE_ONE_ONE,
|
||||||
null,
|
null,
|
||||||
contact.model.actorId!!,
|
contact.model.actorId!!,
|
||||||
null
|
null
|
||||||
@ -2063,5 +2063,6 @@ class ConversationsListActivity :
|
|||||||
const val DAYS_FOR_NOTIFICATION_WARNING = 5L
|
const val DAYS_FOR_NOTIFICATION_WARNING = 5L
|
||||||
const val NOTIFICATION_WARNING_DATE_NOT_SET = 0L
|
const val NOTIFICATION_WARNING_DATE_NOT_SET = 0L
|
||||||
const val OFFSET_HEIGHT_DIVIDER: Int = 3
|
const val OFFSET_HEIGHT_DIVIDER: Int = 3
|
||||||
|
const val ROOM_TYPE_ONE_ONE = "1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user