Skip to content

Commit

Permalink
imp - We no longer need to filter three prefixes
Browse files Browse the repository at this point in the history
---

This temporary code was only served as a workaround while we were migrating the vCard parsers to use the simplified format. Now that we're done, we can remove it.

---

Type: imp
Breaking: False
Doc Required: False
Part: 1/1
  • Loading branch information
AptiviCEO committed Mar 30, 2024
1 parent 70f47d7 commit 48b2f8d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions VisualCard/Parsers/VcardParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,6 @@ public virtual Card Parse()
));
}

// TEMPORARY: Filter out BEGIN, VERSION, and END
if (prefix == "BEGIN" || prefix == "VERSION" || prefix == "END")
continue;

// Get the part type and handle it
bool xNonstandard = prefix.StartsWith(VcardConstants._xSpecifier);
var (type, enumeration, classType) = VcardParserTools.GetPartType(xNonstandard ? VcardConstants._xSpecifier : prefix);
Expand Down

0 comments on commit 48b2f8d

Please sign in to comment.