From d96c4b6c1c375698764bcee8759df281b1c11c77 Mon Sep 17 00:00:00 2001
From: gardar <gardar@users.noreply.github.com>
Date: Sat, 21 Jan 2023 01:45:38 +0000
Subject: [PATCH] fix: add heisenbridge default shortname from ansible role

Signed-off-by: gardar <gardar@users.noreply.github.com>
---
 matrix/buffer.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/matrix/buffer.py b/matrix/buffer.py
index ce981b1..3f48f80 100644
--- a/matrix/buffer.py
+++ b/matrix/buffer.py
@@ -1076,7 +1076,8 @@ def add_user(self, user_id, date, is_state, force_add=False):
                 user.user_id.startswith("@signal_") or
                 user.user_id.startswith("@_telegram_") or
                 user.user_id.startswith("@_xmpp_") or
-                user.user_id.startswith("@irc_")):
+                user.user_id.startswith("@irc_") or
+                user.user_id.startswith("@hbirc_")):
             if user.display_name:
                 short_name = user.display_name[0:50]
         elif user.user_id.startswith("@twilio_"):
