mirror of
https://github.com/fergalmoran/dss.api.git
synced 2025-12-27 03:39:13 +00:00
Removed messages from notifications
This commit is contained in:
@@ -29,7 +29,8 @@ class Message(BaseModel):
|
||||
|
||||
body = models.TextField()
|
||||
|
||||
def create_notification(self, accept=False):
|
||||
# TODO: Need to keep this away from normal notifications
|
||||
def __create_notification(self, accept=False):
|
||||
try:
|
||||
notification = Notification()
|
||||
notification.from_user = self.from_user
|
||||
|
||||
Reference in New Issue
Block a user