Commit 3da16216cf3b8c0455888048fe1fe78f63d6adfc
1 parent
4cb03471
Exists in
master
and in
39 other branches
Updating keywords for every imported email
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
src/super_archives/management/commands/import_emails.py
| @@ -145,6 +145,7 @@ class Command(BaseCommand, object): | @@ -145,6 +145,7 @@ class Command(BaseCommand, object): | ||
| 145 | self.THREAD_CACHE[subject_slug][mailinglist.id] = thread | 145 | self.THREAD_CACHE[subject_slug][mailinglist.id] = thread |
| 146 | 146 | ||
| 147 | thread.latest_message = email | 147 | thread.latest_message = email |
| 148 | + thread.update_keywords() | ||
| 148 | thread.save() | 149 | thread.save() |
| 149 | return thread | 150 | return thread |
| 150 | 151 |