the browser-facing portion of osu!

remove prerendered content_html

bakaneko 61502b77 6142b896

-6
-5
app/Transformers/Chat/MessageTransformer.php
··· 36 $response['uuid'] = $message->uuid; 37 } 38 39 - // TODO: deprecated; preserve while websocket clients reload. 40 - if ($type === 'markdown') { 41 - $response['content_html'] = markdown_chat($message->content); 42 - } 43 - 44 return $response; 45 } 46
··· 36 $response['uuid'] = $message->uuid; 37 } 38 39 return $response; 40 } 41
-1
resources/views/docs/_structures/chat_message.md
··· 29 ------------ | ----------------------- | ------------------------------------------------------------ 30 channel_id | integer | `channel_id` of where the message was sent 31 content | string | message content 32 - content_html | string? | Deprecated. Markdown message content as HTML 33 is_action | boolean | was this an action? i.e. `/me dances` 34 message_id | integer | unique identifier for message 35 sender_id | integer | `user_id` of the sender
··· 29 ------------ | ----------------------- | ------------------------------------------------------------ 30 channel_id | integer | `channel_id` of where the message was sent 31 content | string | message content 32 is_action | boolean | was this an action? i.e. `/me dances` 33 message_id | integer | unique identifier for message 34 sender_id | integer | `user_id` of the sender