Support short names for OFTC bridge
This commit is contained in:
parent
0d491bd3a6
commit
04be5a8764
1 changed files with 2 additions and 0 deletions
|
@ -1084,6 +1084,8 @@ class RoomBuffer(object):
|
||||||
short_name = shorten_sender(user.user_id[9:])
|
short_name = shorten_sender(user.user_id[9:])
|
||||||
elif user.user_id.startswith("@_ircnet_"):
|
elif user.user_id.startswith("@_ircnet_"):
|
||||||
short_name = shorten_sender(user.user_id[8:])
|
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_"):
|
elif user.user_id.startswith("@gitter_"):
|
||||||
short_name = shorten_sender(user.user_id[7:])
|
short_name = shorten_sender(user.user_id[7:])
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue