2020-06-03 12:41:21 +00:00
|
|
|
public class Tootle.Views.Conversations : Views.Timeline {
|
2018-06-17 09:48:58 +00:00
|
|
|
|
2020-06-03 12:41:21 +00:00
|
|
|
public Conversations () {
|
2020-05-31 10:28:35 +00:00
|
|
|
Object (
|
2020-06-03 12:41:21 +00:00
|
|
|
url: "/api/v1/conversations",
|
|
|
|
label: _("Conversations"),
|
2020-06-03 15:06:11 +00:00
|
|
|
icon: API.Visibility.DIRECT.get_icon (),
|
|
|
|
accepts: typeof (API.Conversation)
|
2020-05-31 10:28:35 +00:00
|
|
|
);
|
2018-06-17 09:48:58 +00:00
|
|
|
}
|
2020-05-29 12:19:35 +00:00
|
|
|
|
|
|
|
public override string? get_stream_url () {
|
2020-06-20 10:04:58 +00:00
|
|
|
return @"/api/v1/streaming/?stream=direct&access_token=$(account.access_token)";
|
2018-06-17 09:48:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|