Support intents with mailto:-links, show preview before sending a message.

This commit is contained in:
B. Petersen
2017-03-30 17:55:43 +02:00
parent 30b778c4f6
commit c780ddf081
7 changed files with 111 additions and 82 deletions
@@ -560,7 +560,7 @@ public class AndroidUtilities {
}
}
ArrayList<Integer> colors = new ArrayList<>();
if ((flag & FLAG_TAG_COLOR) != 0) {
if ((flag & FLAG_TAG_COLOR) != 0) { // used eg. by the message preview when following a mailto:-link
while ((start = stringBuilder.indexOf("<c#")) != -1) {
stringBuilder.replace(start, start + 2, "");
end = stringBuilder.indexOf(">", start);