mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 19:49:33 +01:00
parent
4b12ede79e
commit
b14f9990b4
@ -39,8 +39,8 @@ android {
|
|||||||
targetSdkVersion 28
|
targetSdkVersion 28
|
||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
|
|
||||||
versionCode 134
|
versionCode 135
|
||||||
versionName "8.0.7"
|
versionName "8.0.8"
|
||||||
|
|
||||||
flavorDimensions "default"
|
flavorDimensions "default"
|
||||||
renderscriptTargetApi 19
|
renderscriptTargetApi 19
|
||||||
|
@ -333,8 +333,6 @@ class ChatController(args: Bundle) : BaseController(args), MessagesListAdapter
|
|||||||
}
|
}
|
||||||
|
|
||||||
override fun onViewBound(view: View) {
|
override fun onViewBound(view: View) {
|
||||||
super.onViewBound(view)
|
|
||||||
|
|
||||||
actionBar?.show()
|
actionBar?.show()
|
||||||
var adapterWasNull = false
|
var adapterWasNull = false
|
||||||
|
|
||||||
@ -465,7 +463,6 @@ class ChatController(args: Bundle) : BaseController(args), MessagesListAdapter
|
|||||||
|
|
||||||
if (currentConversation != null && currentConversation?.roomId != null) {
|
if (currentConversation != null && currentConversation?.roomId != null) {
|
||||||
loadAvatarForStatusBar()
|
loadAvatarForStatusBar()
|
||||||
checkLobbyState()
|
|
||||||
setTitle()
|
setTitle()
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -473,8 +470,11 @@ class ChatController(args: Bundle) : BaseController(args), MessagesListAdapter
|
|||||||
// we're starting
|
// we're starting
|
||||||
if (TextUtils.isEmpty(roomToken)) {
|
if (TextUtils.isEmpty(roomToken)) {
|
||||||
handleFromNotification()
|
handleFromNotification()
|
||||||
|
} else {
|
||||||
|
getRoomInfo()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
super.onViewBound(view)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -541,13 +541,6 @@ class ChatController(args: Bundle) : BaseController(args), MessagesListAdapter
|
|||||||
lobbyView?.visibility = View.GONE
|
lobbyView?.visibility = View.GONE
|
||||||
messagesListView?.visibility = View.VISIBLE
|
messagesListView?.visibility = View.VISIBLE
|
||||||
messageInput?.visibility = View.VISIBLE
|
messageInput?.visibility = View.VISIBLE
|
||||||
if (isFirstMessagesProcessing && pastPreconditionFailed) {
|
|
||||||
pastPreconditionFailed = false
|
|
||||||
pullChatMessages(0)
|
|
||||||
} else if (futurePreconditionFailed) {
|
|
||||||
futurePreconditionFailed = false
|
|
||||||
pullChatMessages(1)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user