fix: update socket fallback
This commit is contained in:
parent
3b63a43404
commit
dbcdf04817
@ -82,7 +82,7 @@ export class ChannelHttpFallback {
|
||||
return {
|
||||
method: "GET",
|
||||
path: `/rooms/${room}/messages/around`,
|
||||
params: pick(message, ["seq", "limit"]),
|
||||
params: pick(message, ["seq", "limit", "thread"]),
|
||||
};
|
||||
case "missed_messages":
|
||||
return {
|
||||
@ -178,6 +178,11 @@ export class ChannelHttpFallback {
|
||||
path: `/rooms/${room}/threads`,
|
||||
data: { parent: message.parent },
|
||||
};
|
||||
case "thread_list":
|
||||
return {
|
||||
method: "GET",
|
||||
path: `/rooms/${room}/threads`,
|
||||
};
|
||||
case "thread_resolve":
|
||||
return { method: "PATCH", path: `/threads/${threadId}/resolve` };
|
||||
case "thread_archive":
|
||||
|
||||
Loading…
Reference in New Issue
Block a user