diff --git a/lib/notification.c b/lib/notification.c index 840757a..fb831f2 100644 --- a/lib/notification.c +++ b/lib/notification.c @@ -1,10 +1,9 @@ #include "notification.h" #include "util.h" -void send_notification(uint8_t *content) +void send_notification(uint8_t *author, uint8_t *content) { - printf("Content: %s\n", content); - NotifyNotification *notification = notify_notification_new("Client", + NotifyNotification *notification = notify_notification_new((char *) author, (char *) content, "dialog-information"); if (notification == NULL) { error(0, "Cannot create notification");