From 4fdbef04b4ae41e6193d4f4416c83edf91e1bfb7 Mon Sep 17 00:00:00 2001 From: Artémis Date: Mon, 1 Aug 2022 11:13:49 +0200 Subject: [feature] Implemented notification clear (#720) * Implemented notification clear * Added the cache clear mechanism * added multi user check test --- internal/processing/processor.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'internal/processing/processor.go') diff --git a/internal/processing/processor.go b/internal/processing/processor.go index 5a4abb55b..a6e47bed8 100644 --- a/internal/processing/processor.go +++ b/internal/processing/processor.go @@ -155,6 +155,8 @@ type Processor interface { // NotificationsGet NotificationsGet(ctx context.Context, authed *oauth.Auth, limit int, maxID string, sinceID string) (*apimodel.TimelineResponse, gtserror.WithCode) + // NotificationsClear + NotificationsClear(ctx context.Context, authed *oauth.Auth) gtserror.WithCode OAuthHandleTokenRequest(r *http.Request) (map[string]interface{}, gtserror.WithCode) OAuthHandleAuthorizeRequest(w http.ResponseWriter, r *http.Request) error -- cgit v1.2.3