Now is possible to update a conversation

This commit is contained in:
Manuel Cortez 2016-07-23 16:24:06 -05:00
parent 3c0110528f
commit 0bbb3afde0

View File

@ -1082,10 +1082,10 @@ class trendsBufferController(bufferController):
class conversationBufferController(searchBufferController):
def start_stream(self, start=False):
def start_stream(self, start=False, mandatory=False):
# starts stream every 3 minutes.
current_time = time.time()
if self.execution_time == 0 or current_time-self.execution_time >= 180:
if self.execution_time == 0 or current_time-self.execution_time >= 180 or mandatory == True:
self.execution_time = current_time
if start == True:
self.statuses = []