ArtalkJS / Artalk

🌌 Your Self-hosted Comment System. | 自托管评论系统
https://artalk.js.org
MIT License
1.67k stars 142 forks source link

refactor(ui/sidebar): ensure compatibility with new client types #1008

Closed qwqcode closed 4 weeks ago

qwqcode commented 4 weeks ago

Since the client program already prioritizes local configuration over remote configuration by default, there's no need to use the remoteConfModifier magic function to alter the configuration priority.

The dependency injection function has changed from get to inject, or call a more specific method from the Context interface.

(The prerequisite PR is #1007)