mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-27 19:52:17 -05:00
Remove URLs from message previews. Suggested by Kevin Falcone
This commit is contained in:
parent
08679b68ee
commit
766a115155
@ -2297,6 +2297,7 @@ public class LocalStore extends Store implements Serializable
|
||||
}
|
||||
|
||||
text = text.replaceAll("(?ms)^-----BEGIN PGP SIGNED MESSAGE-----.(Hash:\\s*?.*?$)?","");
|
||||
text = text.replaceAll("https?://\\S+","...");
|
||||
text = text.replaceAll("^.*\\w.*:","");
|
||||
text = text.replaceAll("(?m)^>.*$","");
|
||||
text = text.replaceAll("^On .*wrote.?$","");
|
||||
|
Loading…
Reference in New Issue
Block a user