remove save/unsave action

This commit is contained in:
adbenitez 2025-02-07 12:39:55 +01:00
parent ec7807e662
commit 0fa59fa22d
5 changed files with 4 additions and 38 deletions

View file

@ -193,10 +193,6 @@ public class DcMsg {
return !isInfo() && getType() != DC_MSG_VIDEOCHAT_INVITATION;
}
public boolean isSaved() {
return getOriginalMsgId() != 0 || getSavedMsgId() != 0;
}
public File getFileAsFile() {
if(getFile()==null)
throw new AssertionError("expected a file to be present.");