Actually show new notifications
This commit is contained in:
parent
661c7a9a41
commit
a844e9f5dc
|
@ -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) {
|
||||
|
|
|
@ -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 ();
|
||||
|
|
Loading…
Reference in New Issue