This commit is contained in:
parent
64f78e0300
commit
7baaae1abc
|
@ -82,12 +82,8 @@ void Listener::read_config()
|
||||||
|
|
||||||
void Listener::start()
|
void Listener::start()
|
||||||
{
|
{
|
||||||
Easy::API masto(_instance, _access_token);
|
|
||||||
_running = true;
|
_running = true;
|
||||||
|
_masto->get_stream(API::v1::streaming_user, _ptr, _stream);
|
||||||
masto.set_useragent(string("expandurl-mastodon/") + global::version);
|
|
||||||
set_proxy(masto);
|
|
||||||
masto.get_stream(Mastodon::API::v1::streaming_user, _ptr, _stream);
|
|
||||||
|
|
||||||
syslog(LOG_NOTICE, "Connecting to %s ...", _instance.c_str());
|
syslog(LOG_NOTICE, "Connecting to %s ...", _instance.c_str());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user