Commit cfca1fb8a5105c59b810008baec2e5c178f77a11
1 parent
3da16216
Exists in
master
and in
39 other branches
update message block as soons as message is imported
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
src/super_archives/management/commands/import_emails.py
| @@ -207,6 +207,7 @@ class Command(BaseCommand, object): | @@ -207,6 +207,7 @@ class Command(BaseCommand, object): | ||
| 207 | ) | 207 | ) |
| 208 | email.thread = self.get_thread(email, mailinglist) | 208 | email.thread = self.get_thread(email, mailinglist) |
| 209 | email.save() | 209 | email.save() |
| 210 | + email.update_blocks() | ||
| 210 | 211 | ||
| 211 | @transaction.commit_manually | 212 | @transaction.commit_manually |
| 212 | def import_emails(self, archives_path, all, exclude_lists=None): | 213 | def import_emails(self, archives_path, all, exclude_lists=None): |