mirror of
https://github.com/discourse/discourse.git
synced 2025-02-22 14:12:12 +08:00

When setting DISCOURSE_ZEITWERK_EAGER_LOAD=1 to enable eager loading the previous solution to adding chat_levels to the core NotificationLevels would break with a module loading error (c.f. cc2570fce38579202d0e295c153310310f6feb14) We don't actually _need_ to extend the core class, we can just make our own for chat, let's do this instead.