Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.
Go dockerfossgomarkdownmemomicroblognote-takingnotesopen-sourceown-your-datareactself-hostedsqlitetimeline
chore: filter inbox type
Steven537ae622d2b3
diff --git a/server/router/api/v1/inbox_service.go b/server/router/api/v1/inbox_service.goindex 31e1e7138..d663311ef 100644--- a/server/router/api/v1/inbox_service.go+++ b/server/router/api/v1/inbox_service.go@@ -31,7 +31,11 @@ func (s *APIV1Service) ListInboxes(ctx context.Context, _ *v1pb.ListInboxesRequeInboxes: []*v1pb.Inbox{},}for _, inbox := range inboxes {- response.Inboxes = append(response.Inboxes, convertInboxFromStore(inbox))+ inboxMessage := convertInboxFromStore(inbox)+ if inboxMessage.Type == v1pb.Inbox_TYPE_UNSPECIFIED {+ continue+ }+ response.Inboxes = append(response.Inboxes, inboxMessage)}return response, nil