Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/msgbyte/tailchat
/ denyFriendRequest
Function
denyFriendRequest
client/shared/model/friend.ts:38–42 ·
view source on GitHub ↗
(requestId: string)
Source
from the content-addressed store, hash-verified
36
* @param requestId 好友请求ID
37
*/
38
export
async
function
denyFriendRequest(requestId: string): Promise<void> {
39
await
request.post(
'/api/friend/request/deny'
, {
40
requestId,
41
});
42
}
43
44
/**
45
* 取消好友请求
Callers
1
RequestReceived.tsx
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected