mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-30 09:33:24 +00:00
android, desktop: removed group connections
not needed, missunderstanding in requirements
This commit is contained in:
1 parent
69ad380245
commit
f43a2d070b
1 file changed
+1
-7
+1
-7
@@ -75,7 +75,7 @@ import java.util.HashSet
|
||||
|
||||
|
||||
enum class ContactType {
|
||||
CARD, REQUEST, RECENT, CONNECTED_VIA_GROUP, REMOVED, UNKNOWN
|
||||
CARD, REQUEST, RECENT, REMOVED, UNKNOWN
|
||||
}
|
||||
|
||||
private fun contactChats(c: List<Chat>, contactTypes: List<ContactType>): List<Chat> {
|
||||
@@ -94,12 +94,6 @@ private fun getContactType(chat: Chat): ContactType {
|
||||
else -> ContactType.RECENT
|
||||
}
|
||||
}
|
||||
is ChatInfo.Group -> {
|
||||
when {
|
||||
cInfo.groupInfo.sendMsgEnabled -> ContactType.CONNECTED_VIA_GROUP
|
||||
else -> ContactType.UNKNOWN
|
||||
}
|
||||
}
|
||||
else -> ContactType.UNKNOWN
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user