Support short names for OFTC bridge

This commit is contained in:
James E. Blair 2021-05-25 20:11:37 -07:00
parent 0d491bd3a6
commit 04be5a8764

View file

@ -1084,6 +1084,8 @@ class RoomBuffer(object):
short_name = shorten_sender(user.user_id[9:])
elif user.user_id.startswith("@_ircnet_"):
short_name = shorten_sender(user.user_id[8:])
elif user.user_id.startswith("@_oftc_"):
short_name = shorten_sender(user.user_id[6:])
elif user.user_id.startswith("@gitter_"):
short_name = shorten_sender(user.user_id[7:])