From ae149b2808152b112f2c007633fb2f36931adda0 Mon Sep 17 00:00:00 2001 From: Bernhard B Date: Sat, 19 Feb 2022 10:54:36 +0100 Subject: [PATCH] fixed bug in update profile endpoint * due to a bug a it wasn't possible to update the avatar see #218 --- src/client/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/client.go b/src/client/client.go index 7bdaa97..5e0c688 100644 --- a/src/client/client.go +++ b/src/client/client.go @@ -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 {