mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-23 21:45:42 +03:00
Merge pull request #4451 from nextcloud/bugfix/noid/fixNpeMessageInputConversationInternalId
fix NPE currentConversation!!.internalId
This commit is contained in:
commit
eb9eb99ca3
1 changed files with 2 additions and 2 deletions
|
@ -248,7 +248,7 @@ class MessageInputFragment : Fragment() {
|
|||
if (isOnline) {
|
||||
chatActivity.messageInputViewModel.switchToMessageQueue(false)
|
||||
chatActivity.messageInputViewModel.sendAndEmptyMessageQueue(
|
||||
chatActivity.currentConversation!!.internalId,
|
||||
conversationInternalId,
|
||||
chatActivity.conversationUser!!.getCredentials(),
|
||||
ApiUtils.getUrlForChat(
|
||||
chatActivity.chatApiVersion,
|
||||
|
@ -796,7 +796,7 @@ class MessageInputFragment : Fragment() {
|
|||
|
||||
private fun sendMessage(message: CharSequence, replyTo: Int?, sendWithoutNotification: Boolean) {
|
||||
chatActivity.messageInputViewModel.sendChatMessage(
|
||||
chatActivity.currentConversation!!.internalId,
|
||||
conversationInternalId,
|
||||
chatActivity.conversationUser!!.getCredentials(),
|
||||
ApiUtils.getUrlForChat(
|
||||
chatActivity.chatApiVersion,
|
||||
|
|
Loading…
Reference in a new issue