From 08ed4ccfdf96e9e7f584dda09b85a109c9dcb2ab Mon Sep 17 00:00:00 2001
From: Erik Johnston <erik@matrix.org>
Date: Wed, 13 Aug 2014 18:02:34 +0100
Subject: [PATCH] Update graph.py to use new federation urls

---
 graph/graph.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/graph/graph.py b/graph/graph.py
index 03af12cbbd..da829c388f 100644
--- a/graph/graph.py
+++ b/graph/graph.py
@@ -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()
     )
 
-- 
GitLab