MCPcopy Create free account
hub / github.com/ShareDropio/sharedrop / rejectFileTransfer

Function rejectFileTransfer

app/components/peer-widget.js:98–104  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

96 },
97
98 rejectFileTransfer() {
99 const { peer } = this;
100
101 this._sendFileTransferResponse(false);
102 peer.set('transfer.info', null);
103 peer.set('state', 'idle');
104 },
105 },
106
107 _cancelFileTransfer() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected