Streams are requested via GET (Fixes #50)

This commit is contained in:
Lorenz Diener 2017-09-05 16:45:24 +02:00
pare 1c93e350f7
commit c8490be2a7

Veure arxiu

@ -857,7 +857,7 @@ class Mastodon:
This method blocks forever, calling callbacks on 'listener' for
incoming events.
"""
return self.__stream('/api/v1/streaming/hashtag', listener, params={'tag': tag})
return self.__stream("/api/v1/streaming/hashtag?tag={}".format(tag), listener)
###
# Internal helpers, dragons probably