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);
|
OpenResolver openResolver = client.open(itemId);
|
||||||
|
|
||||||
if(openResolver.resolve().getType()==ContainerType.FILE) {
|
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();
|
String itemName = openResolver.asFile().get().getTitle();
|
||||||
|
|
||||||
builder.append(itemName + " ("+publicLink+")");
|
builder.append(itemName + " ("+publicLink+")");
|
||||||
builder.append("\n");
|
builder.append("\n");
|
||||||
}
|
}
|
||||||
} catch (StorageHubException e) {
|
} catch (StorageHubException e) {
|
||||||
_log.error("While reading attachments");
|
_log.error("While reading attachments", e);
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue