From e953ae7be214ca69fb0fd2ad60f572eb0d1f5962 Mon Sep 17 00:00:00 2001 From: sachaaaaa Date: Wed, 6 Mar 2019 12:48:30 +1100 Subject: [PATCH] use correct function respondToAllFriendRequests --- js/models/conversations.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/models/conversations.js b/js/models/conversations.js index cd7e4a010..2079afd53 100644 --- a/js/models/conversations.js +++ b/js/models/conversations.js @@ -668,7 +668,7 @@ if (this.unlockTimer) clearTimeout(this.unlockTimer); if (this.hasReceivedFriendRequest()) { this.setFriendRequestStatus(FriendRequestStatusEnum.friends); - await this.respondToAllPendingFriendRequests({ + await this.respondToAllFriendRequests({ response: 'accepted', direction: 'incoming', status: ['pending', 'expired'],