fix(app): keep the edited marker on attachment-only messages (#1741)