# Bug NEX-163 - Dismissing notification(s) will not set the as read in OpenProject

Project: Stream Nextcloud app "OpenProject Integration"
Status: rejected
URL: https://community.openproject.org/work_packages/NEX-163

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | Nextcloud Integration 2.2.0 |
| Observed in versions |  |
| Bug found in version (deprecated) |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee | Artur Neumann |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

With the latest master of the integration the presentation and logic got improved. It uses OpenProject's notifications, now. 

However, dismissing the notifications using Nextcloud's buttons for dismissing do not work yet, as the do not allow apps to hook into them.

  - Clicking the X icon of a single notification in the notifications drop down.
  - Clicking the "Dismiss all notifications" at the bottom of the notification drop down.

<mention class="mention" data-id="74290" data-type="user" data-text="@julien.veyssier @nextcloud.com">@julien.veyssier @nextcloud.com</mention> Is informed and will try his best to get Nextcloud core to offer some kind of hook so that we can integrate into those events. It would be great to link to any ticket/pr/progress in Nextcloud core here.

That would make the blue buttons per notification "Mark as read" obsolete.

###
