mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-09 20:29:10 +02:00
Remove todo about using replaces_id
This commit is contained in:
@@ -176,8 +176,10 @@ bool send_notification(const std::string& title,
|
|||||||
assert(
|
assert(
|
||||||
libdbus_message_iter_append_basic(&iter, DBUS_TYPE_STRING, &app_name));
|
libdbus_message_iter_append_basic(&iter, DBUS_TYPE_STRING, &app_name));
|
||||||
|
|
||||||
// TODO: Add the replacing thing, see if that helps prevent notifications
|
// It would be nice to be able to replace old notifications so we don't
|
||||||
// from stacking up
|
// accidentally spam the user when every plugin outputs the same message,
|
||||||
|
// but we can't really do this since during plugin scanning every plugin
|
||||||
|
// will likely be loaded in a fresh process
|
||||||
const dbus_uint32_t replaces_id = 0;
|
const dbus_uint32_t replaces_id = 0;
|
||||||
assert(libdbus_message_iter_append_basic(&iter, DBUS_TYPE_UINT32,
|
assert(libdbus_message_iter_append_basic(&iter, DBUS_TYPE_UINT32,
|
||||||
&replaces_id));
|
&replaces_id));
|
||||||
|
|||||||
Reference in New Issue
Block a user