diff --git a/bindings/notifications.go b/bindings/notifications.go index 733e87c1d3aa97e5cb6da2c3e2df2e77892b2340..2c5574d19f371e6b6b51d751351c4c18d4dd63bb 100644 --- a/bindings/notifications.go +++ b/bindings/notifications.go @@ -36,13 +36,13 @@ func (nfmr *NotificationForMeReport) Source() []byte { // NotificationForMe Check if a notification received is for me // It returns a NotificationForMeReport which contains a ForMe bool stating if it is for the caller, // a Type, and a source. These are as follows: -// TYPE DESCRIPTION SOURCE -// "default" A message with no association recipient user ID -// "request" A channel request has been received recipient user ID -// "confirm" A channel request has been accepted sender user ID -// "rekey" keys with a user have been rotated sender user ID -// "e2e" reception of an E2E message sender user ID -// "group" eception of a group chat message group ID +// TYPE SOURCE DESCRIPTION +// "default" recipient user ID A message with no association +// "request" sender user ID A channel request has been received +// "confirm" sender user ID A channel request has been accepted +// "rekey" sender user ID keys with a user have been rotated +// "e2e" sender user ID reception of an E2E message +// "group" group ID reception of a group chat message func NotificationForMe(messageHash, idFP string, preimages string) (*NotificationForMeReport, error) { //handle message hash and idFP messageHashBytes, err := base64.StdEncoding.DecodeString(messageHash)