Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
NickOvt committed Oct 10, 2024
1 parent 1a9dc0b commit ff22cc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1082,7 +1082,7 @@ module.exports.init = function (app, done) {
message._proto = entry.transtype;
message._subject =
Buffer.byteLength(entry.subject, 'utf8') > maxSubjectLineLogLengthBytes
? entry.subject.substring(0, maxSubjectLineLogLengthBytes / 4)
? entry.subject.substring(0, maxSubjectLineLogLengthBytes / 4) // divide by 4 to account for max utf-8 char size
: entry.subject;

message._authenticated_sender = username;
Expand Down

0 comments on commit ff22cc9

Please sign in to comment.