# Copyright (C) 2012-2026 Zammad Foundation, https://zammad-foundation.org/

module ApplicationCable
  class Channel < ActionCable::Channel::Base

    private

    def effective_user
      current_user if connection.still_authorized?
    end
  end
end
