Skip to content
Snippets Groups Projects
Commit 0f5f6492 authored by Benjamin Wenger's avatar Benjamin Wenger
Browse files

fixed formatting

parent c6d68947
No related branches found
No related tags found
1 merge request!117Release
...@@ -36,13 +36,13 @@ func (nfmr *NotificationForMeReport) Source() []byte { ...@@ -36,13 +36,13 @@ func (nfmr *NotificationForMeReport) Source() []byte {
// NotificationForMe Check if a notification received is for me // 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, // 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: // a Type, and a source. These are as follows:
// TYPE DESCRIPTION SOURCE // TYPE SOURCE DESCRIPTION
// "default" A message with no association recipient user ID // "default" recipient user ID A message with no association
// "request" A channel request has been received recipient user ID // "request" sender user ID A channel request has been received
// "confirm" A channel request has been accepted sender user ID // "confirm" sender user ID A channel request has been accepted
// "rekey" keys with a user have been rotated sender user ID // "rekey" sender user ID keys with a user have been rotated
// "e2e" reception of an E2E message sender user ID // "e2e" sender user ID reception of an E2E message
// "group" eception of a group chat message group ID // "group" group ID reception of a group chat message
func NotificationForMe(messageHash, idFP string, preimages string) (*NotificationForMeReport, error) { func NotificationForMe(messageHash, idFP string, preimages string) (*NotificationForMeReport, error) {
//handle message hash and idFP //handle message hash and idFP
messageHashBytes, err := base64.StdEncoding.DecodeString(messageHash) messageHashBytes, err := base64.StdEncoding.DecodeString(messageHash)
......
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