ActiveRemoteRequests is a lockable map of media URIs requested from remote homeservers It is used for ensuring multiple requests for the same file do not clobber each other.
| 70 | // ActiveRemoteRequests is a lockable map of media URIs requested from remote homeservers |
| 71 | // It is used for ensuring multiple requests for the same file do not clobber each other. |
| 72 | type ActiveRemoteRequests struct { |
| 73 | sync.Mutex |
| 74 | // The string key is an mxc:// URL |
| 75 | MXCToResult map[string]*RemoteRequestResult |
| 76 | } |
| 77 | |
| 78 | // ThumbnailSize contains a single thumbnail size configuration |
| 79 | type ThumbnailSize config.ThumbnailSize |
nothing calls this directly
no outgoing calls
no test coverage detected