مراية لـ
https://github.com/postalserver/postal.git
تم المزامنة 2025-11-30 21:32:30 +00:00
style(rubocop): Style/SafeNavigation
هذا الالتزام موجود في:
@@ -335,7 +335,7 @@ module Postal
|
||||
# Return the recipient domain for this message
|
||||
#
|
||||
def recipient_domain
|
||||
rcpt_to ? rcpt_to.split("@").last : nil
|
||||
rcpt_to&.split("@")&.last
|
||||
end
|
||||
|
||||
#
|
||||
|
||||
@@ -380,7 +380,7 @@ module Postal
|
||||
else
|
||||
idata = idata.to_s.sub(/\A\.\./, ".")
|
||||
|
||||
if @credential && @credential.server.log_smtp_data?
|
||||
if @credential&.server&.log_smtp_data?
|
||||
# We want to log if enabled
|
||||
else
|
||||
log "Not logging further message data."
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم