patch show quick action
This commit is contained in:
parent
feed384cf1
commit
a66eb04489
@ -676,9 +676,13 @@ struct MessageProfileView: View {
|
|||||||
formatted
|
formatted
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
private var shouldShowRelationshipQuickActions: Bool {
|
private var shouldShowRelationshipQuickActions: Bool {
|
||||||
|
if isDeletedUser { return false }
|
||||||
|
|
||||||
guard let relationship = currentChatProfile?.relationship else { return false }
|
guard let relationship = currentChatProfile?.relationship else { return false }
|
||||||
|
|
||||||
|
// показываем только если НЕ в контактах
|
||||||
return !relationship.isTargetInContactsOfCurrentUser
|
return !relationship.isTargetInContactsOfCurrentUser
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user