initial commit

This commit is contained in:
unknown
2021-07-28 18:45:52 +05:30
commit 026f835a87
176 changed files with 10613 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
import initMatrix from '../initMatrix';
function logout() {
const mx = initMatrix.matrixClient;
mx.logout().then(() => {
mx.clearStores();
window.localStorage.clear();
window.location.reload();
});
}
export default logout;