send a videochat invitation to self chat (#3204)

there are not really reasons to not allow sending videochat invitations to the self chat:
- it is useful for testing
- one may forward them from there to somewhere else
- it is allowed on desktop and ios as well

in fact, i was very confused that it is not possible
when playing around with https://github.com/deltachat/deltachat-android/issues/3187 .
might be a relict where we did _only_ allow videochat in normal one-to-one chats.
This commit is contained in:
bjoern 2024-08-04 18:11:56 +02:00 committed by GitHub
parent 0733ffabb2
commit 5a9bfe5bbe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 5 deletions

View file

@ -64,10 +64,6 @@ public class DcChat {
return getType() == DC_CHAT_TYPE_BROADCAST;
}
public boolean canVideochat() {
return canSend() && !isSelfTalk();
}
public boolean isHalfBlocked() {
return isProtectionBroken() || isContactRequest();
}