(self, filename)
| 584 | |
| 585 | @needsClient |
| 586 | def isFileAvailable(self, filename): |
| 587 | if filename: |
| 588 | if filename == getMessage("nofile-note"): |
| 589 | return None |
| 590 | if isURL(filename): |
| 591 | return True |
| 592 | elif filename not in self.newWatchlist: |
| 593 | if self._syncplayClient.fileSwitch.findFilepath(filename): |
| 594 | return True |
| 595 | else: |
| 596 | self.newWatchlist.extend([filename]) |
| 597 | return False |
| 598 | |
| 599 | @needsClient |
| 600 | def showUserList(self, currentUser, rooms): |
no test coverage detected