mirror of
				https://github.com/matrix-org/synapse.git
				synced 2025-10-31 08:11:24 +01:00 
			
		
		
		
	Fix imports
This commit is contained in:
		
							parent
							
								
									62ad701326
								
							
						
					
					
						commit
						0011ede3b0
					
				| @ -13,11 +13,8 @@ | |||||||
| # See the License for the specific language governing permissions and | # See the License for the specific language governing permissions and | ||||||
| # limitations under the License. | # limitations under the License. | ||||||
| 
 | 
 | ||||||
| 
 |  | ||||||
| import send_event |  | ||||||
| import membership |  | ||||||
| 
 |  | ||||||
| from synapse.http.server import JsonResource | from synapse.http.server import JsonResource | ||||||
|  | from synapse.replication.http import membership, send_event | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| REPLICATION_PREFIX = "/_synapse/replication" | REPLICATION_PREFIX = "/_synapse/replication" | ||||||
|  | |||||||
| @ -13,6 +13,9 @@ | |||||||
| # See the License for the specific language governing permissions and | # See the License for the specific language governing permissions and | ||||||
| # limitations under the License. | # limitations under the License. | ||||||
| 
 | 
 | ||||||
|  | import logging | ||||||
|  | import re | ||||||
|  | 
 | ||||||
| from twisted.internet import defer | from twisted.internet import defer | ||||||
| 
 | 
 | ||||||
| from synapse.api.errors import SynapseError, MatrixCodeMessageException | from synapse.api.errors import SynapseError, MatrixCodeMessageException | ||||||
| @ -20,9 +23,6 @@ from synapse.http.servlet import RestServlet, parse_json_object_from_request | |||||||
| from synapse.types import Requester, UserID | from synapse.types import Requester, UserID | ||||||
| from synapse.util.distributor import user_left_room, user_joined_room | from synapse.util.distributor import user_left_room, user_joined_room | ||||||
| 
 | 
 | ||||||
| import logging |  | ||||||
| import re |  | ||||||
| 
 |  | ||||||
| logger = logging.getLogger(__name__) | logger = logging.getLogger(__name__) | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user