Reduce diff
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
		
					parent
					
						
							
								4e64c71a4c
							
						
					
				
			
			
				commit
				
					
						e0f0dccc55
					
				
			
		
					 1 changed files with 7 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -30,7 +30,11 @@ import { logger } from "matrix-js-sdk/src/logger";
 | 
			
		|||
import { useTranslation } from "react-i18next";
 | 
			
		||||
 | 
			
		||||
import { ErrorView } from "./FullScreenView";
 | 
			
		||||
import { initClient, CryptoStoreIntegrityError } from "./matrix-utils";
 | 
			
		||||
import {
 | 
			
		||||
  initClient,
 | 
			
		||||
  CryptoStoreIntegrityError,
 | 
			
		||||
  fallbackICEServerAllowed,
 | 
			
		||||
} from "./matrix-utils";
 | 
			
		||||
import { widget } from "./widget";
 | 
			
		||||
import { PosthogAnalytics, RegistrationType } from "./PosthogAnalytics";
 | 
			
		||||
import { translatedError } from "./TranslatedError";
 | 
			
		||||
| 
						 | 
				
			
			@ -139,6 +143,7 @@ export const ClientProvider: FC<Props> = ({ children }) => {
 | 
			
		|||
                  accessToken: access_token,
 | 
			
		||||
                  userId: user_id,
 | 
			
		||||
                  deviceId: device_id,
 | 
			
		||||
                  fallbackICEServerAllowed: fallbackICEServerAllowed,
 | 
			
		||||
                },
 | 
			
		||||
                true
 | 
			
		||||
              ),
 | 
			
		||||
| 
						 | 
				
			
			@ -154,6 +159,7 @@ export const ClientProvider: FC<Props> = ({ children }) => {
 | 
			
		|||
                    accessToken: access_token,
 | 
			
		||||
                    userId: user_id,
 | 
			
		||||
                    deviceId: device_id,
 | 
			
		||||
                    fallbackICEServerAllowed: fallbackICEServerAllowed,
 | 
			
		||||
                  },
 | 
			
		||||
                  false // Don't need the crypto store just to log out
 | 
			
		||||
                );
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue