We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 305f79d commit d11be15Copy full SHA for d11be15
src/Simplex/Messaging/Notifications/Protocol.hs
@@ -543,7 +543,7 @@ instance Encoding NtfTknStatus where
543
NTActive -> "ACTIVE"
544
NTExpired -> "EXPIRED"
545
smpP =
546
- A.takeTill (== ' ') >>= \case
+ A.takeTill (\c -> c == ' ' || c == ',') >>= \case
547
"NEW" -> pure NTNew
548
"REGISTERED" -> pure NTRegistered
549
"INVALID" -> NTInvalid <$> optional (A.char ',' *> strP)
0 commit comments