mirror of
https://github.com/Sheldan/abstracto.git
synced 2026-03-22 21:20:40 +00:00
[AB-93] fixing not initializing the attached files
This commit is contained in:
@@ -342,7 +342,7 @@ public class ChannelServiceBean implements ChannelService {
|
||||
throw new IllegalArgumentException("Message to send did not contain anything to send.");
|
||||
}
|
||||
}
|
||||
if(messageToSend.getAttachedFiles() != null && !messageToSend.getAttachedFiles().isEmpty()) {
|
||||
if(!messageToSend.getAttachedFiles().isEmpty()) {
|
||||
List<FileUpload> files = messageToSend
|
||||
.getAttachedFiles()
|
||||
.stream()
|
||||
|
||||
Reference in New Issue
Block a user