diff --git a/activities/models/post.py b/activities/models/post.py index 045233e..ae856b8 100644 --- a/activities/models/post.py +++ b/activities/models/post.py @@ -1,5 +1,4 @@ import datetime -import hashlib import json import mimetypes import ssl @@ -436,7 +435,7 @@ class Post(StatorModel): """ if not self.summary: return "" - return "summary-" + hashlib.md5(self.summary.encode("utf8")).hexdigest() + return "summary-{self.id}" @property def stats_with_defaults(self):