view discusssions/events.py @ 0:c904249afb04

initial commit of discussions
author k0s <k0scist@gmail.com>
date Sat, 02 Jan 2010 13:36:23 -0500
parents
children
line wrap: on
line source

"""
events:
  add_message(message)
  add_member(member, discussion)
  digest(name, discussion) # name: id token of digest, e.g. 'daily'
"""

def notify_subscribers(message):
    """notify subscribers""

def notify_digest_subscribers(message, group):
    """notify digest subscribers"""