bar_items: Add a connection state status item.

This commit is contained in:
Damir Jelić 2018-10-01 17:12:58 +02:00
parent d8e7d84445
commit a657316278

View file

@ -106,6 +106,9 @@ def matrix_bar_item_buffer_modes(data, item, window, buffer, extra_info):
and server.client.room_contains_unverified(room.room_id)): and server.client.room_contains_unverified(room.room_id)):
modes.append("⚠️ ") modes.append("⚠️ ")
if not server.connected:
modes.append("")
if room_buffer.backlog_pending: if room_buffer.backlog_pending:
modes.append("") modes.append("")