Fixed use of new namespace for App.Utils.parseAddressListLocal().

This commit is contained in:
Martin Edenhofer 2018-02-02 21:04:16 +01:00
parent d2d597b05c
commit 06404c74eb

View file

@ -964,8 +964,8 @@ class App.Utils
senders = App.Utils.parseAddressListLocal(article.from) senders = App.Utils.parseAddressListLocal(article.from)
if senders if senders
for sender in senders for sender in senders
if sender && sender.address && sender.address.match('@') if sender && sender.match('@')
senderIsLocal = isLocalAddress(sender.address) senderIsLocal = isLocalAddress(sender)
# check if article recipient is local # check if article recipient is local
recipientIsLocal = false recipientIsLocal = false