fix missing function

This commit is contained in:
Jonathan Rainville 2021-01-04 11:24:03 -05:00 committed by Iuri Matias
parent d48043ee22
commit b3844d4012
1 changed files with 2 additions and 1 deletions

View File

@ -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)