mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-02 07:25:49 +02:00
互換性を追加
This commit is contained in:
@@ -30,6 +30,9 @@ module.exports = (server: http.Server) => {
|
||||
type = payload.type;
|
||||
payload = payload.body;
|
||||
}
|
||||
if (type.startsWith('api:')) {
|
||||
type = payload.type.replace('api:', 'api-res:');
|
||||
}
|
||||
connection.send(JSON.stringify({
|
||||
type: type,
|
||||
body: payload
|
||||
|
||||
Reference in New Issue
Block a user