Skip to content

Commit

Permalink
Sync up type flags for fetching recent chats
Browse files Browse the repository at this point in the history
  • Loading branch information
Terrance committed Mar 6, 2023
1 parent f263fab commit f09e922
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions skpy/chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -485,8 +485,9 @@ def recent(self):
"""
url = "{0}/users/ME/conversations".format(self.skype.conn.msgsHost)
params = {"startTime": 0,
"view": "msnp24Equivalent",
"targetType": "Passport|Skype|Lync|Thread"}
"view": "supportsExtendedHistory|msnp24Equivalent",
"targetType": "Passport|Skype|Lync|Thread|Agent|ShortCircuit|PSTN|Flxt|NotificationStream|"
"ModernBots|secureThreads|InviteFree"}
resp = self.skype.conn.syncStateCall("GET", url, params, auth=SkypeConnection.Auth.RegToken).json()
chats = {}
for json in resp.get("conversations", []):
Expand Down

0 comments on commit f09e922

Please sign in to comment.