alpha test worked

This commit is contained in:
Massimiliano Assante 2021-09-09 17:08:28 +02:00
parent 23c2dedffb
commit 40ac5d0d4e
1 changed files with 3 additions and 3 deletions

View File

@ -449,14 +449,14 @@ public class ConvServiceImpl implements MessageService {
OpenResolver openResolver = client.open(itemId);
if(openResolver.resolve().getType()==ContainerType.FILE) {
String publicLink = openResolver.asFile().getPublicLink(itemId).toString();
String publicLink = openResolver.asFile().getPublicLink().toString();
String itemName = openResolver.asFile().get().getTitle();
builder.append(itemName + " ("+publicLink+")");
builder.append("\n");
}
}
} catch (StorageHubException e) {
_log.error("While reading attachments");
_log.error("While reading attachments", e);
e.printStackTrace();
}
}