bar_items: Add a connection state status item.
This commit is contained in:
parent
d8e7d84445
commit
a657316278
1 changed files with 3 additions and 0 deletions
|
@ -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("⏳")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue