From b6b540c44917744098805e5f70207289a3755eac Mon Sep 17 00:00:00 2001 From: Aurélien Bompard Date: Fri, 9 Nov 2012 13:54:13 +0100 Subject: Use the new thread object in KittyStore --- hyperkitty/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hyperkitty/api.py') diff --git a/hyperkitty/api.py b/hyperkitty/api.py index 6c80f0d..1fc8212 100644 --- a/hyperkitty/api.py +++ b/hyperkitty/api.py @@ -51,7 +51,7 @@ class ThreadResource(View): def get(self, request, mlist_fqdn, threadid): list_name = mlist_fqdn.split('@')[0] store = get_store(request) - thread = store.get_messages_in_thread(list_name, threadid) + thread = store.get_thread(list_name, threadid) if not thread: return HttpResponse(status=404) else: -- cgit