Fixed extra name with multiple commas

This commit is contained in:
M66B
2025-06-10 07:14:10 +02:00
parent bb5ee10c60
commit 614bbc578c

View File

@@ -856,7 +856,7 @@ public class MessageHelper {
static Pair<String, String> getExtra(String email, String extra) {
String name = null;
int comma = extra.indexOf(',');
int comma = extra.lastIndexOf(',');
if (comma >= 0) {
name = extra.substring(0, comma).trim();
extra = extra.substring(comma + 1).trim();