dont show error when fetching pending invitations failed

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
Marcel Hibbe 2024-09-17 12:05:02 +02:00
parent e66dc4d805
commit 28906dd999
No known key found for this signature in database
GPG key ID: C793F8B59F43CE7B

View file

@ -323,9 +323,7 @@ class ConversationsListActivity :
}
is ConversationsListViewModel.GetFederationInvitationsErrorState -> {
if (isNetworkAvailable(context)) {
Snackbar.make(binding.root, R.string.get_invitations_error, Snackbar.LENGTH_LONG).show()
}
// do nothing
}
else -> {}