2022-11-13 20:57:43 +00:00
|
|
|
public class Tooth.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"),
|
2021-07-23 11:41:03 +00:00
|
|
|
icon: "mail-unread-symbolic"
|
2020-05-31 10:28:35 +00:00
|
|
|
);
|
2020-08-01 21:47:22 +00:00
|
|
|
accepts = typeof (API.Conversation);
|
2018-06-17 09:48:58 +00:00
|
|
|
}
|
2020-05-29 12:19:35 +00:00
|
|
|
|
2020-08-01 21:47:22 +00: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 09:48:58 +00:00
|
|
|
|
|
|
|
}
|