diff --git a/src/app/chat/view.nim b/src/app/chat/view.nim index 3a422fe0ea..bc9774d333 100644 --- a/src/app/chat/view.nim +++ b/src/app/chat/view.nim @@ -619,7 +619,8 @@ QtObject: try: # TODO Change this to get it from the user choices let access = ord(CommunityAccessLevel.public) - let tmpImagePath = self.resizeImage(imagePath, 120) + var image = image_utils.formatImagePath(imagePath) + let tmpImagePath = image_resizer(image, 2000, TMPDIR) let community = self.status.chat.createCommunity(name, description, color, tmpImagePath, access) removeFile(tmpImagePath)