Pleroma v1.1.9-10-g42f76306+dev Pleroma.Notification View Source
Link to this section Summary
Functions
Returns notifications for user received since given date.
Link to this section Types
Link to this section Functions
    
      
      Link to this function
    
    
          
  
  for_user_since(user, date)
View Sourcefor_user_since(Pleroma.User.t(), NaiveDateTime.t()) :: [t()]
Returns notifications for user received since given date.
Examples
iex> Pleroma.Notification.for_user_since(%Pleroma.User{}, ~N[2019-04-13 11:22:33])
[%Pleroma.Notification{}, %Pleroma.Notification{}]
iex> Pleroma.Notification.for_user_since(%Pleroma.User{}, ~N[2019-04-15 11:22:33])
[]
  
    
      
      Link to this function
    
    
          
  
  skip?(activity, user)
View Sourceskip?(Pleroma.Activity.t(), Pleroma.User.t()) :: boolean()
    
      
      Link to this function
    
    
          
  
  skip?(arg1, activity, user)
View Sourceskip?(atom(), Pleroma.Activity.t(), Pleroma.User.t()) :: boolean()