mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-23 17:00:24 +01:00
* feat: add direct message link /message/:mid add /:index? to chat routes add copy link to chat messages add messageCount to each room object add infinitescroll in both directions to chat * fix more tests * test: more text fixes * test: fix tests * remove async * dont crash if element not in dom clamp scrollToIndex values to 0, msgCount
19 lines
531 B
YAML
19 lines
531 B
YAML
get:
|
|
tags:
|
|
- shorthand
|
|
summary: Access a specific chat message
|
|
description: This route comes in handy when all you have is the `mid`, and you want to redirect users to the canonical URL for the chat message, with the appropriate user slug and room id
|
|
parameters:
|
|
- name: mid
|
|
in: path
|
|
required: true
|
|
schema:
|
|
type: string
|
|
example: 1
|
|
responses:
|
|
"200":
|
|
description: "Canonical URL of chat message"
|
|
content:
|
|
text/plain:
|
|
schema:
|
|
type: string |