mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-06-07 15:23:11 +00:00
core: change logic of checking if peer supports feature (check if peer version is compatible) (#3024)
This commit is contained in:
@@ -54,9 +54,9 @@ currentChatVersion = 2
|
||||
supportedChatVRange :: VersionRange
|
||||
supportedChatVRange = mkVersionRange 1 currentChatVersion
|
||||
|
||||
-- version that starts support for skipping establishing direct connections in a group
|
||||
groupNoDirectVersion :: Version
|
||||
groupNoDirectVersion = 3 -- 2
|
||||
-- version range that supports skipping establishing direct connections in a group
|
||||
groupNoDirectVRange :: VersionRange
|
||||
groupNoDirectVRange = mkVersionRange 2 currentChatVersion
|
||||
|
||||
data ConnectionEntity
|
||||
= RcvDirectMsgConnection {entityConnection :: Connection, contact :: Maybe Contact}
|
||||
|
||||
Reference in New Issue
Block a user