2020-06-03 14:41:21 +02:00
|
|
|
public class Tootle.Views.Conversations : Views.Timeline {
|
2018-06-17 11:48:58 +02:00
|
|
|
|
2020-06-03 14:41:21 +02:00
|
|
|
public Conversations () {
|
2020-05-31 12:28:35 +02:00
|
|
|
Object (
|
2020-06-03 14:41:21 +02:00
|
|
|
url: "/api/v1/conversations",
|
|
|
|
label: _("Conversations"),
|
2021-07-23 13:41:03 +02:00
|
|
|
icon: "mail-unread-symbolic"
|
2020-05-31 12:28:35 +02:00
|
|
|
);
|
2020-08-01 23:47:22 +02:00
|
|
|
accepts = typeof (API.Conversation);
|
2018-06-17 11:48:58 +02:00
|
|
|
}
|
2020-05-29 14:19:35 +02:00
|
|
|
|
2020-08-01 23:47:22 +02:00
|
|
|
// TODO: Reload when an update is received
|
|
|
|
// public override string? get_stream_url () {
|
|
|
|
// return @"/api/v1/streaming/?stream=direct&access_token=$(account.access_token)";
|
|
|
|
// }
|
2018-06-17 11:48:58 +02:00
|
|
|
|
|
|
|
}
|