alpha test worked
This commit is contained in:
parent
23c2dedffb
commit
40ac5d0d4e
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue