(self, newRoomList)
| 555 | # TODO: Handle cases where users add www. to start of domain |
| 556 | |
| 557 | def setRoomList(self, newRoomList): |
| 558 | newRoomList = sorted(newRoomList) |
| 559 | from syncplay.ui.ConfigurationGetter import ConfigurationGetter |
| 560 | ConfigurationGetter().setConfigOption("roomList", newRoomList) |
| 561 | oldRoomList = self._config['roomList'] |
| 562 | if oldRoomList != newRoomList: |
| 563 | self._config['roomList'] = newRoomList |
| 564 | |
| 565 | def _isURITrustableAndTrusted(self, URIToTest): |
| 566 | """Returns a tuple of booleans: (trustable, trusted). |
no test coverage detected