Actually show new notifications

This commit is contained in:
bleakgrey 2018-05-28 01:58:38 +03:00
parent 661c7a9a41
commit a844e9f5dc
2 changed files with 2 additions and 1 deletions

View File

@ -80,6 +80,8 @@ public class Tootle.InstanceAccount : GLib.Object {
notification.set_body (body);
}
app.send_notification (app.application_id + ":" + obj.id.to_string (), notification);
network.notification (ref obj);
}
private void status_added (ref Status status) {

View File

@ -33,7 +33,6 @@ public class Tootle.Notificator : GLib.Object {
}
private void on_message (int i, Bytes bytes) {
var network = Tootle.network;
var msg = (string) bytes.get_data ();
var parser = new Json.Parser ();