forked from mirrors/linphone-iphone
Fix first message sent in chatroom
This commit is contained in:
parent
76d4a8cdb3
commit
69c3648c15
1 changed files with 3 additions and 1 deletions
|
|
@ -496,7 +496,9 @@ struct ConversationFragment: View {
|
|||
}
|
||||
} else {
|
||||
Button {
|
||||
NotificationCenter.default.post(name: .onScrollToBottom, object: nil)
|
||||
if conversationViewModel.displayedConversationHistorySize > 0 {
|
||||
NotificationCenter.default.post(name: .onScrollToBottom, object: nil)
|
||||
}
|
||||
conversationViewModel.sendMessage()
|
||||
} label: {
|
||||
Image("paper-plane-tilt")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue