Changeset - cbeedd63f9d4
[Not reviewed]
default
0 1 0
timeless@gmail.com - 10 years ago 2016-05-03 14:08:11
timeless@gmail.com
spelling: notification
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
kallithea/model/db.py
Show inline comments
 
@@ -2438,13 +2438,13 @@ class Notification(Base, BaseModel):
 
            # Mark notifications to self "pre-read" - should perhaps just be skipped
 
            if recipient == created_by:
 
                un.read = True
 
            Session().add(un)
 

	
 
        Session().add(notification)
 
        Session().flush() # assign notificaiton.notification_id
 
        Session().flush() # assign notification.notification_id
 
        return notification
 

	
 
    @property
 
    def description(self):
 
        from kallithea.model.notification import NotificationModel
 
        return NotificationModel().make_description(self)
0 comments (0 inline, 0 general)