Fixed thread with empty msgid

This commit is contained in:
M66B
2022-07-07 19:38:00 +02:00
parent 9b914df3a1
commit bf0532c46c
2 changed files with 3 additions and 2 deletions

View File

@@ -1533,7 +1533,8 @@ public class MessageHelper {
DB db = DB.getInstance(context);
List<String> all = new ArrayList<>(refs);
all.add(msgid);
if (!TextUtils.isEmpty(msgid))
all.add(msgid);
int thread_range = prefs.getInt("thread_range", MessageHelper.DEFAULT_THREAD_RANGE);
int range = (int) Math.pow(2, thread_range);