Default True for no data notifications
This commit is contained in:
@@ -32,7 +32,6 @@ class ActivityHandler(object):
|
|||||||
|
|
||||||
def __init__(self, timeline):
|
def __init__(self, timeline):
|
||||||
self.timeline = timeline
|
self.timeline = timeline
|
||||||
# print timeline
|
|
||||||
|
|
||||||
def is_valid_session(self):
|
def is_valid_session(self):
|
||||||
if 'sessionKey' in self.timeline:
|
if 'sessionKey' in self.timeline:
|
||||||
@@ -235,7 +234,6 @@ class TimelineHandler(object):
|
|||||||
|
|
||||||
def __init__(self, timeline):
|
def __init__(self, timeline):
|
||||||
self.timeline = timeline
|
self.timeline = timeline
|
||||||
#logger.debug(timeline)
|
|
||||||
|
|
||||||
def is_item(self):
|
def is_item(self):
|
||||||
if 'itemID' in self.timeline:
|
if 'itemID' in self.timeline:
|
||||||
|
@@ -132,7 +132,7 @@ def notify_conditions(notifier=None, notify_action=None, stream_data=None, timel
|
|||||||
|
|
||||||
return conditions.get(notify_action, True)
|
return conditions.get(notify_action, True)
|
||||||
else:
|
else:
|
||||||
return False
|
return True
|
||||||
|
|
||||||
|
|
||||||
def notify(notifier_id=None, notify_action=None, stream_data=None, timeline_data=None, **kwargs):
|
def notify(notifier_id=None, notify_action=None, stream_data=None, timeline_data=None, **kwargs):
|
||||||
|
Reference in New Issue
Block a user