From d71211d15bd3e009a4254da86fb870ff6da3fb43 Mon Sep 17 00:00:00 2001
From: jbhusson <jonah@elixxir.io>
Date: Thu, 30 Dec 2021 13:12:58 -0500
Subject: [PATCH] Update to use primitives for notification csv

---
 bindings/notifications.go | 5 +++--
 go.mod                    | 2 +-
 go.sum                    | 2 ++
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/bindings/notifications.go b/bindings/notifications.go
index 7c7bc0775..71db73728 100644
--- a/bindings/notifications.go
+++ b/bindings/notifications.go
@@ -11,8 +11,8 @@ import (
 	"encoding/json"
 	"github.com/pkg/errors"
 	"gitlab.com/elixxir/client/storage/edge"
-	pb "gitlab.com/elixxir/comms/mixmessages"
 	"gitlab.com/elixxir/crypto/fingerprint"
+	"gitlab.com/elixxir/primitives/notifications"
 )
 
 type NotificationForMeReport struct {
@@ -67,7 +67,8 @@ func NotificationsForMe(notifCSV, preimages string) (*ManyNotificationForMeRepor
 			"cannot check if notification is for me")
 	}
 
-	list, err := pb.DecodeNotificationsCSV(notifCSV)
+	list, err := notifications.DecodeNotificationsCSV(notifCSV)
+
 	if err != nil {
 		return nil, err
 	}
diff --git a/go.mod b/go.mod
index f7b589ffb..82b33e064 100644
--- a/go.mod
+++ b/go.mod
@@ -22,7 +22,7 @@ require (
 	gitlab.com/elixxir/comms v0.0.4-0.20211227194636-6c18b5e870ae
 	gitlab.com/elixxir/crypto v0.0.7-0.20211227194530-ccd1a1c13a48
 	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/crypto v0.0.5-0.20211227194420-f311e8920467
 	gitlab.com/xx_network/primitives v0.0.4-0.20211222205802-03e9d7d835b0
diff --git a/go.sum b/go.sum
index db9b2ab71..d579c8634 100644
--- a/go.sum
+++ b/go.sum
@@ -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.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.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.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