Added options to select alt re/fwd

This commit is contained in:
M66B
2021-06-10 15:48:17 +02:00
parent f29dff79e9
commit 438a2f1583
6 changed files with 169 additions and 53 deletions

View File

@@ -292,10 +292,8 @@ public class ServiceUI extends IntentService {
throw new IllegalArgumentException("outbox not found");
String subject = (ref.subject == null ? "" : ref.subject);
if (prefix_once) {
String re = getString(R.string.title_subject_reply, "");
subject = subject.replaceAll("(?i)" + Pattern.quote(re.trim()), "").trim();
}
if (prefix_once)
subject = EntityMessage.collapsePrefixes(this, ref.language, subject, false);
Bundle results = RemoteInput.getResultsFromIntent(intent);
String body = results.getString("text");