Ejemplo n.º 1
0
def cc_auto_mark_all_read(sender, instance, **kw):
    """When someone joins thread, mark all old messages read."""
    from mkt.comm.tasks import mark_thread_read
    mark_thread_read.delay(instance.thread, instance.user)
Ejemplo n.º 2
0
def cc_auto_mark_all_read(sender, instance, **kw):
    """When someone joins thread, mark all old messages read."""
    from mkt.comm.tasks import mark_thread_read
    mark_thread_read.delay(instance.thread, instance.user)