mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 14:35:58 +08:00
0a5f548635
As part of this move, we are also renaming `discourse-chat` to `chat`.
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
|