Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 18cf9230 authored by Jesse Vincent's avatar Jesse Vincent
Browse files

Only strip : lines containing word characters. This should improve the

preview when someone sends mail starting with a time. (12:01)
parent 84d5e721
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2262,7 +2262,7 @@ public class LocalStore extends Store implements Serializable
                return null;
            }

            text = text.replaceAll("^.*:","");
            text = text.replaceAll("^.*\w.*:","");
            text = text.replaceAll("(?m)^>.*$","");
            text = text.replaceAll("^On .*wrote.?$","");
            text = text.replaceAll("(\\r|\\n)+"," ");