mirror of
				https://github.com/matrix-org/synapse.git
				synced 2025-11-04 02:01:03 +01:00 
			
		
		
		
	Merge pull request #1912 from matrix-org/markjh/roominitialsync
Add db functions needed for room initial sync to slave
This commit is contained in:
		
						commit
						6bba80241c
					
				@ -87,6 +87,10 @@ class SynchrotronSlavedStore(
 | 
			
		||||
        RoomMemberStore.__dict__["who_forgot_in_room"]
 | 
			
		||||
    )
 | 
			
		||||
 | 
			
		||||
    did_forget = (
 | 
			
		||||
        RoomMemberStore.__dict__["did_forget"]
 | 
			
		||||
    )
 | 
			
		||||
 | 
			
		||||
    # XXX: This is a bit broken because we don't persist the accepted list in a
 | 
			
		||||
    # way that can be replicated. This means that we don't have a way to
 | 
			
		||||
    # invalidate the cache correctly.
 | 
			
		||||
 | 
			
		||||
@ -46,6 +46,12 @@ class SlavedAccountDataStore(BaseSlavedStore):
 | 
			
		||||
    )
 | 
			
		||||
 | 
			
		||||
    get_tags_for_user = TagsStore.__dict__["get_tags_for_user"]
 | 
			
		||||
    get_tags_for_room = (
 | 
			
		||||
        DataStore.get_tags_for_room.__func__
 | 
			
		||||
    )
 | 
			
		||||
    get_account_data_for_room = (
 | 
			
		||||
        DataStore.get_account_data_for_room.__func__
 | 
			
		||||
    )
 | 
			
		||||
 | 
			
		||||
    get_updated_tags = DataStore.get_updated_tags.__func__
 | 
			
		||||
    get_updated_account_data_for_user = (
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user