fix: messages and notif Friends Accepteded

This commit is contained in:
Surya Paolo
2022-12-17 22:12:18 +01:00
parent 3c2fc4c806
commit 3aaa94c33e
16 changed files with 505 additions and 402 deletions

View File

@@ -395,13 +395,17 @@ export const useUserStore = defineStore('UserStore', {
const globalStore = useGlobalStore()
if (globalStore.site.confpages.enableRegMultiChoice) {
return (this.my.profile.teleg_id! > 0 && this.my.verified_by_aportador! && this.isUsernameTelegOk()) || this.my.verified_email!
return ((this.my.profile.teleg_id! > 0 && this.isUsernameTelegOk()) || this.my.verified_email!) && this.my.verified_by_aportador!
} else {
return this.my.profile.teleg_id! > 0 && this.my.verified_by_aportador! && this.isUsernameTelegOk()
}
// return this.my.verified_email! && this.my.profile.teleg_id! > 0 && this.my.verified_by_aportador!
},
isUserWaitingVerifAportador(): boolean {
return !this.my.verified_by_aportador
},
isOldRegNotFinished(): boolean {
return tools.isLogged() && ((!this.my.profile.teleg_id || this.my.profile.teleg_id <= 0) || !this.isUsernameTelegOk())
// return this.my.verified_email! && this.my.profile.teleg_id! > 0 && this.my.verified_by_aportador!