This commit is contained in:
Bleak Grey 2020-09-05 11:45:35 +03:00
parent 748808d845
commit 50347cbb1d
2 changed files with 3 additions and 2 deletions

View File

@ -13,7 +13,7 @@ public class Tootle.Views.Notifications : Views.Timeline, IAccountListener, IStr
);
accepts = typeof (API.Notification);
on_notification.connect (add_notification);
on_status_added.disconnect (add_status);
disconnect (on_status_added_sigig);
}
public override string? get_stream_url () {

View File

@ -8,6 +8,7 @@ public class Tootle.Views.Timeline : IAccountListener, IStreamListener, Views.Ba
public Type accepts { get; set; default = typeof (API.Status); }
protected InstanceAccount? account = null;
protected ulong on_status_added_sigig;
public bool is_last_page { get; set; default = false; }
public string? page_next { get; set; }
@ -19,7 +20,7 @@ public class Tootle.Views.Timeline : IAccountListener, IStreamListener, Views.Ba
status_button.clicked.connect (on_refresh);
account_listener_init ();
on_status_added.connect (add_status);
on_status_added_sigig = on_status_added.connect (add_status);
on_status_removed.connect (remove_status);
}
~Timeline () {