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 #1026 from kawazrepos/hatenablog-activity
Browse files Browse the repository at this point in the history
はてなブログの通知がSlackに流れなかったのを修正
  • Loading branch information
giginet committed Dec 30, 2015
2 parents 601156a + 909fb98 commit 55558b0
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/kawaz/core/activities/hatenablog/activity.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
# coding=utf-8
"""
"""

from django.conf import settings
from activities.mediator import ActivityMediator


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

def alter(self, instance, activity, **kwargs):
if activity and activity.status == 'created':
Expand Down

0 comments on commit 55558b0

Please sign in to comment.