This commit is contained in:
clauspeterhuebner 2026-01-13 18:34:49 +01:00
parent bf227200c0
commit 1d7d93aee6
3 changed files with 22 additions and 5 deletions

View File

@ -675,9 +675,18 @@ export class TransactionLinkResolver {
methodLogger.error(errmsg)
throw new LogError(errmsg)
}
if(recipientUser.emailContact?.email !== null){
if (recipientUser.emailContact?.email !== null) {
if (methodLogger.isDebugEnabled()) {
methodLogger.debug('Sending TransactionLinkRedeem Email to recipient=' + recipientUser.firstName + ' ' + recipientUser.lastName + 'sender=' + senderUser.firstName + ' ' + senderUser.lastName)
methodLogger.debug(
'Sending TransactionLinkRedeem Email to recipient=' +
recipientUser.firstName +
' ' +
recipientUser.lastName +
'sender=' +
senderUser.firstName +
' ' +
senderUser.lastName,
)
}
try {
await sendTransactionLinkRedeemedEmail({
@ -698,7 +707,16 @@ export class TransactionLinkResolver {
}
} else {
if (methodLogger.isDebugEnabled()) {
methodLogger.debug('Sender or Recipient are foreign users with no email contact, not sending Transaction Received Email: recipient=' + recipientUser.firstName + ' ' + recipientUser.lastName + 'sender=' + senderUser.firstName + ' ' + senderUser.lastName)
methodLogger.debug(
'Sender or Recipient are foreign users with no email contact, not sending Transaction Received Email: recipient=' +
recipientUser.firstName +
' ' +
recipientUser.lastName +
'sender=' +
senderUser.firstName +
' ' +
senderUser.lastName,
)
}
}
} catch (e) {

View File

@ -65,7 +65,7 @@ export async function storeForeignUser(
} else if (
user.firstName !== committingResult.recipFirstName ||
user.lastName !== committingResult.recipLastName ||
user.alias !== committingResult.recipAlias/* ||
user.alias !== committingResult.recipAlias /* ||
(user.emailContact === null && committingResult.recipEmail !== null) ||
(user.emailContact !== null &&
user.emailContact?.email !== null &&

View File

@ -9,7 +9,6 @@ export class SendCoinsResponseJwtPayloadType extends JwtPayloadType {
recipLastName: string | null
recipAlias: string | null
constructor(
handshakeID: string,
vote: boolean,