Move graphql_to_live_location -> LiveLocationAttachment._from_pull

This commit is contained in:
Mads Marquart
2019-03-07 20:17:29 +01:00
parent c374aca890
commit ee207e994f
4 changed files with 16 additions and 17 deletions

View File

@@ -3010,7 +3010,7 @@ class Client(object):
for l in i["messageLiveLocations"]:
mid = l["messageId"]
author_id = str(l["senderId"])
location = graphql_to_live_location(l)
location = LiveLocationAttachment._from_pull(l)
self.onLiveLocation(
mid=mid,
location=location,