From 06404c74eb3a0ff2996fe6601b18ef5a39678ab7 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Fri, 2 Feb 2018 21:04:16 +0100 Subject: [PATCH] Fixed use of new namespace for App.Utils.parseAddressListLocal(). --- app/assets/javascripts/app/lib/app_post/utils.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/app/lib/app_post/utils.coffee b/app/assets/javascripts/app/lib/app_post/utils.coffee index 0bc5a7f97..134deb96e 100644 --- a/app/assets/javascripts/app/lib/app_post/utils.coffee +++ b/app/assets/javascripts/app/lib/app_post/utils.coffee @@ -964,8 +964,8 @@ class App.Utils senders = App.Utils.parseAddressListLocal(article.from) if senders for sender in senders - if sender && sender.address && sender.address.match('@') - senderIsLocal = isLocalAddress(sender.address) + if sender && sender.match('@') + senderIsLocal = isLocalAddress(sender) # check if article recipient is local recipientIsLocal = false