From f9d3f3a1f3b66152984b87af716dbc8a8a98c848 Mon Sep 17 00:00:00 2001
From: kaiyou <pierre@jaury.eu>
Date: Wed, 16 Dec 2020 17:23:37 +0100
Subject: [PATCH] Display Matrix room version

---
 hiboo/application/templates/application_synapse/rooms.html | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/hiboo/application/templates/application_synapse/rooms.html b/hiboo/application/templates/application_synapse/rooms.html
index 04cb996..3a0ef99 100644
--- a/hiboo/application/templates/application_synapse/rooms.html
+++ b/hiboo/application/templates/application_synapse/rooms.html
@@ -9,6 +9,7 @@
             <tr>
               <th>{% trans %}RoomID{% endtrans %}</th>
               <th>{% trans %}Alias{% endtrans %}</th>
+              <th>{% trans %}Version{% endtrans %}</th>
               <th>{% trans %}Name{% endtrans %}</th>
               <th>{% trans %}Members (local){% endtrans %}</th>
               <th>{% trans %}Properties{% endtrans %}</th>
@@ -18,6 +19,7 @@
               <td><a href="{{ url_for("service.action", service_uuid=service.uuid, action="get_room", roomid=room["room_id"]) }}">{{ room["room_id"] }}</a></td>
               <td>{{ room["canonical_alias"] }}</td>
               <td>{{ room["name"] }}</td>
+              <td>{{ room["version"] }}</td>
               <td>{{ room["joined_members"] }} ({{ room["joined_local_members"] }})</td>
               <td>{{ room["join_rules"] }}, {{ room["history_visibility"] }}</td>
             </tr>
-- 
GitLab