diff --git a/lib/Client/InternalClient.js b/lib/Client/InternalClient.js index a2e10c6b0..d73306931 100644 --- a/lib/Client/InternalClient.js +++ b/lib/Client/InternalClient.js @@ -1585,9 +1585,9 @@ var InternalClient = (function () { } }); } else { - data.friends = null; - data.incoming_friend_requests = null; - data.outgoing_friend_requests = null; + self.friends = null; + self.incoming_friend_requests = null; + self.outgoing_friend_requests = null; } self.state = _ConnectionState2["default"].READY; diff --git a/src/Client/InternalClient.js b/src/Client/InternalClient.js index 931b49927..c44da3c34 100644 --- a/src/Client/InternalClient.js +++ b/src/Client/InternalClient.js @@ -1321,9 +1321,9 @@ export default class InternalClient { } }); } else { - data.friends = null; - data.incoming_friend_requests = null; - data.outgoing_friend_requests = null; + self.friends = null; + self.incoming_friend_requests = null; + self.outgoing_friend_requests = null; } self.state = ConnectionState.READY;