From a675ecf74c3c20892b5c5e95b0d36c55afb045ec Mon Sep 17 00:00:00 2001 From: Marcel Hibbe Date: Tue, 17 Sep 2024 12:05:02 +0200 Subject: [PATCH] dont show error when fetching pending invitations failed Signed-off-by: Marcel Hibbe --- .../talk/conversationlist/ConversationsListActivity.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/src/main/java/com/nextcloud/talk/conversationlist/ConversationsListActivity.kt b/app/src/main/java/com/nextcloud/talk/conversationlist/ConversationsListActivity.kt index 1483815e4..e3a367f0c 100644 --- a/app/src/main/java/com/nextcloud/talk/conversationlist/ConversationsListActivity.kt +++ b/app/src/main/java/com/nextcloud/talk/conversationlist/ConversationsListActivity.kt @@ -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 -> {}