()
| 9 | import { threadSpecs } from '../thread-specs.js'; |
| 10 | |
| 11 | const protocols = (): $ReadOnlyArray<ThreadProtocol<any>> => [ |
| 12 | farcasterThreadProtocol, |
| 13 | dmThreadProtocol, |
| 14 | keyserverThreadProtocol, |
| 15 | ]; |
| 16 | |
| 17 | function getProtocolByThreadID(threadID: string): ?ThreadProtocol<any> { |
| 18 | return protocols().find(p => p.threadIDMatchesProtocol(threadID)); |
no outgoing calls
no test coverage detected