if !text || text.empty? || (jparams['to'].length > 1 && has_media)
return [200, {}, "OK"]
end
But the stream stuff ignores possible early returns like this and just does the emit at the end.
if !text || text.empty? || (jparams['to'].length > 1 && has_media)
return [200, {}, "OK"]
end
But the stream stuff ignores possible early returns like this and just does the emit at the end.
7404d8111ff1ae122363157d5409109d1eb14aa9