Allow private group join by link

This commit is contained in:
QuickMythril 2024-04-02 22:42:24 -04:00
parent b4c7f6008e
commit 728dc79bd6

View File

@ -1847,13 +1847,7 @@ class GroupManagement extends LitElement {
if(sideEffectAction && sideEffectAction.type === 'openJoinGroupModal'){
const res = await getGroupInfo(sideEffectAction.data)
if(res && res.groupId){
if(res.isOpen){
this.joinGroup(res)
} else {
let snackbarstring = get("managegroup.mg45")
parentEpml.request('showSnackBar', `${snackbarstring}`)
}
this.joinGroup(res)
}
window.parent.reduxStore.dispatch(
window.parent.reduxAction.setSideEffectAction(null)