'Marks all of the given aggregated activities as seen or read or both.'

def mark_activities(self, activity_ids, seen=True, read=False):

    unseen_ids = (activity_ids if seen else [])
    unread_ids = (activity_ids if read else [])
    self.update_markers(unseen_ids=unseen_ids, unread_ids=unread_ids, operation='remove')
