diff options
author | John Smith <mrdoctorwho@helldev.net> | 2020-10-13 15:00:52 +0300 |
---|---|---|
committer | John Smith <mrdoctorwho@helldev.net> | 2020-10-13 15:00:52 +0300 |
commit | c3f00be3142d8d485b9e5ec033718e66cdecf591 (patch) | |
tree | 23bab49c97e963bf52290773eaf979cecfd12b11 | |
parent | bf2a3db0697124bd7e2620a501a7181523f03c5e (diff) |
Add explicit "online" field to friends requests
-rw-r--r-- | gateway.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -442,7 +442,7 @@ class VK(object): del data["last_name"] return name - def getFriends(self, fields=None, limit=MAX_FRIENDS): + def getFriends(self, fields=["online"], limit=MAX_FRIENDS): """ Executes the friends.get method and formats it in the key-value style Example: |