File tree Expand file tree Collapse file tree
java/com/nextcloud/talk/conversationlist Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -284,6 +284,11 @@ class ConversationsListActivity :
284284 initObservers()
285285 }
286286
287+ override fun onNewIntent (intent : Intent ) {
288+ super .onNewIntent(intent)
289+ handleEcoSystemIntent(intent)
290+ }
291+
287292 private fun handleEcoSystemIntent (intent : Intent ) {
288293 ecosystemManager.receiveAccount(
289294 intent,
@@ -300,6 +305,8 @@ class ConversationsListActivity :
300305 userManager.setUserAsActive(user)
301306 val intent = Intent (context, ConversationsListActivity ::class .java)
302307 startActivity(intent)
308+ } else {
309+ Snackbar .make(binding.root, R .string.nc_no_account_found, Snackbar .LENGTH_LONG ).show()
303310 }
304311 Log .d(TAG , accountName)
305312 }
Original file line number Diff line number Diff line change @@ -955,4 +955,5 @@ How to translate with transifex:
955955 <string name =" no_scheduled_messages_offline" >No connection to server - Scheduled messages could not be loaded</string >
956956 <string name =" nc_show_ecosystem_title" >Show app switcher</string >
957957 <string name =" nc_show_ecosystem_description" >Nextcloud app suggestions in account chooser dialog</string >
958+ <string name =" nc_no_account_found" >Account not found</string >
958959</resources >
You can’t perform that action at this time.
0 commit comments