Fix #220
This commit is contained in:
parent
748808d845
commit
50347cbb1d
|
@ -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 () {
|
||||
|
|
|
@ -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 () {
|
||||
|
|
Loading…
Reference in New Issue