mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 13:17:13 +08:00

- moves the onebox logic away from `plugin.rb` to a new `onebox_handler` lib - splits the `discourse_chat_message` template into two: one for channels, and one for messages - refactors the logic code slightly to send only the necessary arguments to each template This commit shouldn't change end-user behavior.