()
| 58 | |
| 59 | // TODO: move it to a separate initializer |
| 60 | function trackSizeOfReceivedFiles() { |
| 61 | $.subscribe('file_received.p2p', (event, data) => { |
| 62 | Analytics.trackEvent('received', { |
| 63 | event_category: 'file', |
| 64 | event_label: 'size', |
| 65 | value: Math.round(data.info.size / 1000), |
| 66 | }); |
| 67 | }); |
| 68 | } |
| 69 | |
| 70 | application.deferReadiness(); |
| 71 |
nothing calls this directly
no outgoing calls
no test coverage detected