Finally fixed the attachment counter which caused crashs in older versions, too
This commit is contained in:
parent
1676c9d961
commit
b1dbb28ea5
|
@ -144,7 +144,7 @@ namespace DML.AppCore.Classes
|
||||||
if (m.Attachments.Count > 0)
|
if (m.Attachments.Count > 0)
|
||||||
{
|
{
|
||||||
result.Add(m);
|
result.Add(m);
|
||||||
Core.Scheduler.TotalAttachments++;
|
Core.Scheduler.TotalAttachments += (ulong)m.Attachments.Count;
|
||||||
Trace($"Added message {m.Id}");
|
Trace($"Added message {m.Id}");
|
||||||
}
|
}
|
||||||
Debug($"Finished message {m.Id}");
|
Debug($"Finished message {m.Id}");
|
||||||
|
|
Loading…
Reference in a new issue