Re: Matching tags

On Wed, Jun 20, 2012 at 4:13 AM, James Graham <jgraham@opera.com> wrote:

> It seems like when tags match the old notification is replaced by the new
> notification. This seems confusing (and possibly hard to implement?) if
> there is any substantive difference between the notifications. Why not just
> discard the new notification?
>
>
Part of the point of the tag (previously known as "replaceId") is to update
a notification.  One motivating use case is a chat application (see section
7.3 of the spec) -- rather than many incoming chats from the same person
causing multiple notifications or only the first one, the application can
consolidate or update as it prefers.

Some platforms (e.g., libnotify) support it natively, and if the platform
does not the spec explicitly says that it's fine to discard the old
notification and show the new one.

Thanks,
 -John

Received on Wednesday, 20 June 2012 13:19:38 UTC