From 959a2fc77df01b64cbbfb055e97e28e7c7484fa2 Mon Sep 17 00:00:00 2001 From: Maze Date: Tue, 21 Jan 2020 21:08:45 +0100 Subject: [PATCH 1/2] placeholder room name --- matrix/buffer.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/matrix/buffer.py b/matrix/buffer.py index 793ef15..dd89c4c 100644 --- a/matrix/buffer.py +++ b/matrix/buffer.py @@ -1164,6 +1164,10 @@ class RoomBuffer(object): else: room_name = self.room.display_name + if room_name is None: + # Use placeholder room name + room_name = '...' + self.weechat_buffer.short_name = room_name if G.CONFIG.human_buffer_names: From a5bed102e53fe1cb57d82c8350a69f6574fbee08 Mon Sep 17 00:00:00 2001 From: Maze Date: Tue, 21 Jan 2020 21:36:31 +0100 Subject: [PATCH 2/2] placeholder is now "Empty room (?)" --- matrix/buffer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix/buffer.py b/matrix/buffer.py index dd89c4c..5caa7f2 100644 --- a/matrix/buffer.py +++ b/matrix/buffer.py @@ -1166,7 +1166,7 @@ class RoomBuffer(object): if room_name is None: # Use placeholder room name - room_name = '...' + room_name = 'Empty room (?)' self.weechat_buffer.short_name = room_name