# frozen_string_literal: true
class UserStatusSerializer < ApplicationSerializer
attributes :description, :emoji, :ends_at, :message_bus_last_id
def message_bus_last_id
MessageBus.last_id("/user-status")
end