chore(mail): add supervisor mail tag only for supervisors
This commit is contained in:
parent
a75c7520b5
commit
030a4be533
@ -84,8 +84,9 @@ userMailT uid mAct = do
|
||||
mailT ctx $ do
|
||||
_mailTo .= pure (userAddress supervisor)
|
||||
mAct
|
||||
mapSubject ("[SUPERVISOR]"<>) -- changing subject is easy
|
||||
--addPart explanationSupervisor -- adding an attachment is also easy
|
||||
unless (uid==svr) $ -- do
|
||||
mapSubject ("[SUPERVISOR]"<>) -- changing subject is easy
|
||||
--addPart explanationSupervisor -- adding an attachment is also easy
|
||||
|
||||
|
||||
_userMailTdirect :: ( MonadHandler m
|
||||
|
||||
Loading…
Reference in New Issue
Block a user