after Lucio suggestion
This commit is contained in:
parent
46e5e2a787
commit
23c2dedffb
|
@ -448,8 +448,7 @@ public class ConvServiceImpl implements MessageService {
|
|||
try {
|
||||
OpenResolver openResolver = client.open(itemId);
|
||||
|
||||
if(openResolver.asItem().getType()==ContainerType.FOLDER) {
|
||||
|
||||
if(openResolver.resolve().getType()==ContainerType.FILE) {
|
||||
String publicLink = openResolver.asFile().getPublicLink(itemId).toString();
|
||||
String itemName = openResolver.asFile().get().getTitle();
|
||||
|
||||
|
|
Loading…
Reference in New Issue