From 5a52023957e53daeea46a27b32cbe076f8663558 Mon Sep 17 00:00:00 2001
From: Taras Smakula <tarassmakula@gmail.com>
Date: Wed, 12 Jun 2024 15:52:29 +0300
Subject: [PATCH] Fix multiple invitation sending

---
 .../core/feature/invite_to_follow/InviteToFollowMeViewModel.kt  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/src/main/java/org/futo/circles/core/feature/invite_to_follow/InviteToFollowMeViewModel.kt b/core/src/main/java/org/futo/circles/core/feature/invite_to_follow/InviteToFollowMeViewModel.kt
index 068076b6c..be9c14377 100644
--- a/core/src/main/java/org/futo/circles/core/feature/invite_to_follow/InviteToFollowMeViewModel.kt
+++ b/core/src/main/java/org/futo/circles/core/feature/invite_to_follow/InviteToFollowMeViewModel.kt
@@ -31,8 +31,8 @@ class InviteToFollowMeViewModel @Inject constructor(
                     )
                     return@launchBg
                 }
-                inviteResultLiveData.postValue(Response.Success(Unit))
             }
+            inviteResultLiveData.postValue(Response.Success(Unit))
         }
     }
 }
\ No newline at end of file
-- 
GitLab