Skip to content

Commit 27b1f48

Browse files
committed
Merge branch 'stable'
2 parents 65cc198 + 3d62a38 commit 27b1f48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Simplex/Messaging/Agent/Protocol.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1697,13 +1697,13 @@ instance Encoding AConnLinkData where
16971697
smpP =
16981698
smpP >>= \case
16991699
CMInvitation -> do
1700-
(vr, userData) <- smpP
1700+
(vr, userData) <- smpP <* A.takeByteString -- ignoring tail for forward compatibility with the future link data encoding
17011701
pure $ ACLD SCMInvitation $ InvitationLinkData vr userData
17021702
CMContact -> do
17031703
(agentVRange, direct) <- smpP
17041704
owners <- smpListP
17051705
relays <- smpListP
1706-
userData <- smpP
1706+
userData <- smpP <* A.takeByteString -- ignoring tail for forward compatibility with the future link data encoding
17071707
pure $ ACLD SCMContact ContactLinkData {agentVRange, direct, owners, relays, userData}
17081708

17091709
data StoredClientService (s :: DBStored) = ClientService

0 commit comments

Comments
 (0)