commit 5902ddf2e37fb1cf572f8d55c771a41444569610
parent 845c5680cba7983c7027b2bdc4cbbc4361fb62f6
Author: Jaromil <jaromil@dyne.org>
Date:   Sat, 18 Feb 2017 21:05:47 +0100
extra check for addressbook import of '@' email entries
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/zlibs/addressbook b/src/zlibs/addressbook
@@ -317,6 +317,9 @@ import() {
 
         _e="${e_parsed[(ws:,:)1]:l}"
 
+		# this error of parsed '@' occurs sometimes
+		[[ "$_e" = "@" ]] && continue
+
         # check if the email is not already known
         lookup_email "$_e"
         [[ $? = 0 ]] && {