Skip to content
This repository has been archived by the owner on Jun 29, 2020. It is now read-only.

Commit

Permalink
Merge pull request #877 from kawazrepos/876
Browse files Browse the repository at this point in the history
作品の更新がHipChat通知されない問題を修正 closes #876
  • Loading branch information
giginet committed Apr 5, 2015
2 parents ddc2def + 8e0df59 commit 527f04f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/kawaz/apps/products/activity.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
from django.contrib.contenttypes.models import ContentType
from django_comments import Comment
from django.conf import settings
from kawaz.apps.products.models import AbstractRelease, Screenshot
from activities.mediator import ActivityMediator


class ProductActivityMediator(ActivityMediator):
notifiers = (
'twitter_kawaz_info',
'twitter_kawaz_official'
)
notifiers = settings.ACTIVITIES_DEFAULT_NOTIFIERS + ('twitter_kawaz_official',)

def alter(self, instance, activity, **kwargs):
# 状態がdraftの場合は通知しない
Expand Down

0 comments on commit 527f04f

Please sign in to comment.