Implement membership notifications and deep-link handling for Electron desktop app #246

Merged
talksik merged 11 commits from free-monkey into main 2026-06-09 15:04:19 +00:00
Showing only changes of commit 3a7b896f3a - Show all commits
+2
View File
@@ -284,6 +284,7 @@ func (s *serviceImpl) AcceptInvitation(ctx context.Context, networkID, email, hu
} }
} }
if len(emailRecipients) > 0 {
newMemberEmailPrefix := strings.Split(normalized, "@")[0] newMemberEmailPrefix := strings.Split(normalized, "@")[0]
_, err = s.aeroSvc.ShootEmail(ctx, &pbaero.ShootEmailRequest{ _, err = s.aeroSvc.ShootEmail(ctx, &pbaero.ShootEmailRequest{
ToEmails: emailRecipients, ToEmails: emailRecipients,
@@ -298,6 +299,7 @@ func (s *serviceImpl) AcceptInvitation(ctx context.Context, networkID, email, hu
flog.Warn("unable to send email notification", "email", email, "network", network.Name) flog.Warn("unable to send email notification", "email", email, "network", network.Name)
} }
} }
}
s.mirrorAddMembership(ctx, humanId, networkID) s.mirrorAddMembership(ctx, humanId, networkID)
return nil return nil
1