Update graph.py to use new federation urls

This commit is contained in:
Erik Johnston 2014-08-13 18:02:34 +01:00
parent 80c056c148
commit 08ed4ccfdf

View File

@ -120,7 +120,7 @@ def make_graph(pdus, room, filename_prefix):
def get_pdus(host, room):
transaction = json.loads(
urllib2.urlopen(
"http://%s/context/%s/" % (host, room)
"http://%s/matrix/federation/v1/context/%s/" % (host, room)
).read()
)