mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-26 01:36:55 +00:00
Fixed thread with empty msgid
This commit is contained in:
parent
9b914df3a1
commit
bf0532c46c
2 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -36,6 +36,6 @@ public class TupleThreadInfo {
|
|||
}
|
||||
|
||||
public boolean isReferencing(String msgid) {
|
||||
return !isSelf(msgid) && !isReferenced(msgid);
|
||||
return !TextUtils.isEmpty(msgid) && !isSelf(msgid) && !isReferenced(msgid);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue