fixed bug in update profile endpoint

* due to a bug a it wasn't possible to update the avatar

see #218
This commit is contained in:
Bernhard B
2022-02-19 10:54:36 +01:00
parent 9e40ce70bb
commit ae149b2808

View File

@@ -862,7 +862,7 @@ func (s *SignalClient) UpdateProfile(number string, profileName string, base64Av
return err
}
avatarTmpPath := s.avatarTmpDir + u.String() + "." + fType.Extension
avatarTmpPath = s.avatarTmpDir + u.String() + "." + fType.Extension
f, err := os.Create(avatarTmpPath)
if err != nil {