fixing bug for rejecting inbox users

This commit is contained in:
talksik
2021-12-25 00:30:03 -08:00
parent 4651114dcb
commit 05068043d9
@@ -121,7 +121,7 @@ extension InnerCircleViewModel {
}
// setting timestamps to nil to make sure that new server timestamp is set
var userFriend = UserFriends(userId: userId, friendId: friendId, isActive: true, lastUpdatedTimestamp: nil)
var userFriend = UserFriends(userId: userId, friendId: friendId, isActive: activate, lastUpdatedTimestamp: nil)
self.firestoreService.createOrUpdateUserFriends(userFriend: userFriend, activateOrDeactivate: activate) {[weak self] res in
completion(res)