mirror of
https://github.com/TwidereProject/Twidere-Android
synced 2025-02-17 04:00:48 +01:00
fixed new conversation group/one_to_one logic
This commit is contained in:
parent
2d070b11a6
commit
f29e2f47c7
@ -229,9 +229,9 @@ class MessageNewConversationFragment : BaseFragment(), LoaderCallbacks<List<Parc
|
||||
conversation.id = "${SendMessageTask.TEMP_CONVERSATION_ID_PREFIX}${System.currentTimeMillis()}"
|
||||
conversation.local_timestamp = System.currentTimeMillis()
|
||||
conversation.conversation_type = if (selected.size > 1) {
|
||||
ConversationType.ONE_TO_ONE
|
||||
} else {
|
||||
ConversationType.GROUP
|
||||
} else {
|
||||
ConversationType.ONE_TO_ONE
|
||||
}
|
||||
conversation.participants = (selected + account.user).toTypedArray()
|
||||
conversation.is_temp = true
|
||||
|
Loading…
x
Reference in New Issue
Block a user