Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
# frozen_string_literal: true
class UserStatusSerializer < ApplicationSerializer
attributes :description, :emoji, :ends_at, :message_bus_last_id
def ends_at
object.ends_at&.iso8601
end
def message_bus_last_id
MessageBus.last_id("/user-status")