mirror of
https://github.com/RocketChat/Rocket.Chat.git
synced 2025-12-28 06:47:25 +00:00
fix(federation): return empty devices list (#37761)
This commit is contained in:
parent
8bf0bab1eb
commit
a00c000f97
@ -416,13 +416,14 @@ export const getMatrixProfilesRoutes = () => {
|
||||
tags: ['Federation'],
|
||||
license: ['federation'],
|
||||
},
|
||||
async (_c) => {
|
||||
async (c) => {
|
||||
return {
|
||||
body: {
|
||||
errcode: 'M_UNRECOGNIZED',
|
||||
error: 'This endpoint is not implemented on the homeserver side',
|
||||
devices: [],
|
||||
stream_id: 0,
|
||||
user_id: c.req.param('userId'),
|
||||
},
|
||||
statusCode: 501,
|
||||
statusCode: 200,
|
||||
};
|
||||
},
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user