FIX: Return nil when the reply_key is missing

This commit is contained in:
Robin Ward
2017-06-08 14:28:48 -04:00
parent 6997925a52
commit 602e4d0da4
2 changed files with 23 additions and 0 deletions

View File

@ -346,6 +346,7 @@ module Email
return { type: :reply, obj: email_log } if email_log
end
end
nil
end
def process_destination(destination, user, body, elided)