app/soc/logic/helper/notifications.py
changeset 1059 17221b578fe7
parent 970 8b5611d5b053
child 1115 0a723ff3d27c
equal deleted inserted replaced
1058:6acbbb68f032 1059:17221b578fe7
   141   fields = {
   141   fields = {
   142       'from_user' : from_user,
   142       'from_user' : from_user,
   143       'subject': subject,
   143       'subject': subject,
   144       'message' : message,
   144       'message' : message,
   145       'scope' : to_user,
   145       'scope' : to_user,
   146       'link_id' :'%i' % (time.time()),
   146       'link_id' :'t%i' % (time.time()),
   147       'scope_path' : to_user.link_id
   147       'scope_path' : to_user.link_id
   148   }
   148   }
   149 
   149 
   150   key_fields = model_logic.notification.logic.getKeyFieldsFromDict(fields)
   150   key_fields = model_logic.notification.logic.getKeyFieldsFromDict(fields)
   151 
   151