Skip to content
Snippets Groups Projects
Commit d71211d1 authored by Jonah Husson's avatar Jonah Husson
Browse files

Update to use primitives for notification csv

parent 59f7d30f
No related branches found
No related tags found
3 merge requests!117Release,!116Dev,!110Update to use primitives for notification csv
...@@ -11,8 +11,8 @@ import ( ...@@ -11,8 +11,8 @@ import (
"encoding/json" "encoding/json"
"github.com/pkg/errors" "github.com/pkg/errors"
"gitlab.com/elixxir/client/storage/edge" "gitlab.com/elixxir/client/storage/edge"
pb "gitlab.com/elixxir/comms/mixmessages"
"gitlab.com/elixxir/crypto/fingerprint" "gitlab.com/elixxir/crypto/fingerprint"
"gitlab.com/elixxir/primitives/notifications"
) )
type NotificationForMeReport struct { type NotificationForMeReport struct {
...@@ -67,7 +67,8 @@ func NotificationsForMe(notifCSV, preimages string) (*ManyNotificationForMeRepor ...@@ -67,7 +67,8 @@ func NotificationsForMe(notifCSV, preimages string) (*ManyNotificationForMeRepor
"cannot check if notification is for me") "cannot check if notification is for me")
} }
list, err := pb.DecodeNotificationsCSV(notifCSV) list, err := notifications.DecodeNotificationsCSV(notifCSV)
if err != nil { if err != nil {
return nil, err return nil, err
} }
......
...@@ -22,7 +22,7 @@ require ( ...@@ -22,7 +22,7 @@ require (
gitlab.com/elixxir/comms v0.0.4-0.20211227194636-6c18b5e870ae gitlab.com/elixxir/comms v0.0.4-0.20211227194636-6c18b5e870ae
gitlab.com/elixxir/crypto v0.0.7-0.20211227194530-ccd1a1c13a48 gitlab.com/elixxir/crypto v0.0.7-0.20211227194530-ccd1a1c13a48
gitlab.com/elixxir/ekv v0.1.5 gitlab.com/elixxir/ekv v0.1.5
gitlab.com/elixxir/primitives v0.0.3-0.20211227194457-8745b796d1f5 gitlab.com/elixxir/primitives v0.0.3-0.20211229173551-464848f93568
gitlab.com/xx_network/comms v0.0.4-0.20211227194445-c099754b3cda gitlab.com/xx_network/comms v0.0.4-0.20211227194445-c099754b3cda
gitlab.com/xx_network/crypto v0.0.5-0.20211227194420-f311e8920467 gitlab.com/xx_network/crypto v0.0.5-0.20211227194420-f311e8920467
gitlab.com/xx_network/primitives v0.0.4-0.20211222205802-03e9d7d835b0 gitlab.com/xx_network/primitives v0.0.4-0.20211222205802-03e9d7d835b0
......
...@@ -284,6 +284,8 @@ gitlab.com/elixxir/primitives v0.0.0-20200804182913-788f47bded40/go.mod h1:tzdFF ...@@ -284,6 +284,8 @@ gitlab.com/elixxir/primitives v0.0.0-20200804182913-788f47bded40/go.mod h1:tzdFF
gitlab.com/elixxir/primitives v0.0.1/go.mod h1:kNp47yPqja2lHSiS4DddTvFpB/4D9dB2YKnw5c+LJCE= gitlab.com/elixxir/primitives v0.0.1/go.mod h1:kNp47yPqja2lHSiS4DddTvFpB/4D9dB2YKnw5c+LJCE=
gitlab.com/elixxir/primitives v0.0.3-0.20211227194457-8745b796d1f5 h1:5RziGxgls+ZjhzCTBL35Yfquil9Sw/hjd6Ho36HLzJM= gitlab.com/elixxir/primitives v0.0.3-0.20211227194457-8745b796d1f5 h1:5RziGxgls+ZjhzCTBL35Yfquil9Sw/hjd6Ho36HLzJM=
gitlab.com/elixxir/primitives v0.0.3-0.20211227194457-8745b796d1f5/go.mod h1:ZCFCwLN5ZFfEXduWnzhRtoCEq56kLTHAmj5IDaRcwDs= gitlab.com/elixxir/primitives v0.0.3-0.20211227194457-8745b796d1f5/go.mod h1:ZCFCwLN5ZFfEXduWnzhRtoCEq56kLTHAmj5IDaRcwDs=
gitlab.com/elixxir/primitives v0.0.3-0.20211229173551-464848f93568 h1:qrJDFx3jZ4EMq3GkUSXIumkisFgTeP8hMDfOIR+pwYA=
gitlab.com/elixxir/primitives v0.0.3-0.20211229173551-464848f93568/go.mod h1:ZCFCwLN5ZFfEXduWnzhRtoCEq56kLTHAmj5IDaRcwDs=
gitlab.com/xx_network/comms v0.0.0-20200805174823-841427dd5023/go.mod h1:owEcxTRl7gsoM8c3RQ5KAm5GstxrJp5tn+6JfQ4z5Hw= gitlab.com/xx_network/comms v0.0.0-20200805174823-841427dd5023/go.mod h1:owEcxTRl7gsoM8c3RQ5KAm5GstxrJp5tn+6JfQ4z5Hw=
gitlab.com/xx_network/comms v0.0.4-0.20211227194445-c099754b3cda h1:oWl8TuAgdx/6J9lwdH8wYGSb4W6D5TG1AZkzbA8EzbE= gitlab.com/xx_network/comms v0.0.4-0.20211227194445-c099754b3cda h1:oWl8TuAgdx/6J9lwdH8wYGSb4W6D5TG1AZkzbA8EzbE=
gitlab.com/xx_network/comms v0.0.4-0.20211227194445-c099754b3cda/go.mod h1:5arueRMa2MNa6dALnfJwyZOhqhV53Gqc+tlHRz+Ycjw= gitlab.com/xx_network/comms v0.0.4-0.20211227194445-c099754b3cda/go.mod h1:5arueRMa2MNa6dALnfJwyZOhqhV53Gqc+tlHRz+Ycjw=
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment