Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #48 from Blackoverflow/fix_verifiy_identity
Browse files Browse the repository at this point in the history
Fetch remote identityKey with UUID for fingerprint generation.
  • Loading branch information
nanu-c authored Dec 6, 2021
2 parents 499de57 + 090c2e0 commit cae4d39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions store.go
Original file line number Diff line number Diff line change
Expand Up @@ -264,12 +264,12 @@ func ContactIdentityKey(id string) ([]byte, error) {
return append([]byte{5}, b...), nil
}

func GetFingerprint(remoteIdentifier string) ([]string, []byte, error) {
func GetFingerprint(remoteUUID string, remoteIdentifier string) ([]string, []byte, error) {

localIdentifier := config.ConfigFile.Tel
localIdentityKey := MyIdentityKey()

remoteIdentityKey, err := ContactIdentityKey(remoteIdentifier)
remoteIdentityKey, err := ContactIdentityKey(remoteUUID)
if err != nil {
return nil, nil, err
}
Expand Down

0 comments on commit cae4d39

Please sign in to comment.