mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 16:18:12 +00:00
Notification: Give a unique internal ID
This will allow us to later query the notifications from a connection and safely update it without exposing it to any other applications, as it is session based.
This commit is contained in:
parent
7351c77a42
commit
a437430294
3 changed files with 13 additions and 8 deletions
|
@ -55,7 +55,7 @@ OwnPtr<Messages::NotificationServer::GreetResponse> ClientConnection::handle(con
|
|||
|
||||
OwnPtr<Messages::NotificationServer::ShowNotificationResponse> ClientConnection::handle(const Messages::NotificationServer::ShowNotification& message)
|
||||
{
|
||||
auto window = NotificationWindow::construct(message.text(), message.title(), message.icon());
|
||||
auto window = NotificationWindow::construct(client_id(), message.text(), message.title(), message.icon());
|
||||
window->show();
|
||||
return make<Messages::NotificationServer::ShowNotificationResponse>();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue