Commit 3da16216cf3b8c0455888048fe1fe78f63d6adfc

Authored by Sergio Oliveira
1 parent 4cb03471

Updating keywords for every imported email

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