From 959a2fc77df01b64cbbfb055e97e28e7c7484fa2 Mon Sep 17 00:00:00 2001 From: Maze Date: Tue, 21 Jan 2020 21:08:45 +0100 Subject: [PATCH] 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: