mirror of
https://github.com/discourse/discourse.git
synced 2024-12-11 22:04:03 +08:00
16 lines
239 B
Ruby
16 lines
239 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
class DeletedChatUser < User
|
||
|
def username
|
||
|
I18n.t("chat.deleted_chat_username")
|
||
|
end
|
||
|
|
||
|
def avatar_template
|
||
|
"/plugins/chat/images/deleted-chat-user-avatar.png"
|
||
|
end
|
||
|
|
||
|
def bot?
|
||
|
false
|
||
|
end
|
||
|
end
|