From c42bfabaad6975caf35c449732cf0e1eec616d3e Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Tue, 2 Jun 2015 16:11:13 +0100 Subject: [PATCH] Order the status API before presence lists because it is more important. --- templating/matrix_templates/sections.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templating/matrix_templates/sections.py b/templating/matrix_templates/sections.py index 336a62d6..af3aec94 100644 --- a/templating/matrix_templates/sections.py +++ b/templating/matrix_templates/sections.py @@ -85,7 +85,9 @@ class MatrixSections(Sections): def render_presence_http_api(self): return self._render_http_api_group( - "presence", title_kind="+" + "presence", + sortFnOrPathList=["status"], + title_kind="+" ) def render_room_events(self):