|
|
@ -668,7 +668,7 @@
|
|
|
|
if (this.unlockTimer) clearTimeout(this.unlockTimer);
|
|
|
|
if (this.unlockTimer) clearTimeout(this.unlockTimer);
|
|
|
|
if (this.hasReceivedFriendRequest()) {
|
|
|
|
if (this.hasReceivedFriendRequest()) {
|
|
|
|
this.setFriendRequestStatus(FriendRequestStatusEnum.friends);
|
|
|
|
this.setFriendRequestStatus(FriendRequestStatusEnum.friends);
|
|
|
|
await this.respondToAllPendingFriendRequests({
|
|
|
|
await this.respondToAllFriendRequests({
|
|
|
|
response: 'accepted',
|
|
|
|
response: 'accepted',
|
|
|
|
direction: 'incoming',
|
|
|
|
direction: 'incoming',
|
|
|
|
status: ['pending', 'expired'],
|
|
|
|
status: ['pending', 'expired'],
|
|
|
|