Remove edit on permanent invite links

This commit is contained in:
Ilya Laktyushin 2021-02-15 23:03:34 +04:00
parent 4313ac50bc
commit c526024286

View File

@ -656,7 +656,7 @@ public final class InviteLinkViewController: ViewController {
} }
}) })
if invite.isRevoked { if invite.isPermanent || invite.isRevoked {
self.editButton.isHidden = true self.editButton.isHidden = true
} }
} }