Skip to content

Commit

Permalink
reformat code
Browse files Browse the repository at this point in the history
  • Loading branch information
ariefnurputranto committed Jan 17, 2019
1 parent ef18f1e commit b304612
Showing 1 changed file with 12 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -700,13 +700,21 @@ public void forward(List<QiscusComment> forwardComments) {
} else if (forwardComment.getType() == QiscusComment.Type.LOCATION) {
qiscusComment = QiscusComment.generateLocationMessage(room.getId(), forwardComment.getLocation());
} else if (forwardComment.getType() == QiscusComment.Type.IMAGE) {
qiscusComment = QiscusComment.generateFileAttachmentMessage(room.getId(),forwardComment.getAttachmentUri().toString(),forwardComment.getCaption(),forwardComment.getAttachmentName());
qiscusComment = QiscusComment.generateFileAttachmentMessage(room.getId(),
forwardComment.getAttachmentUri().toString(), forwardComment.getCaption(),
forwardComment.getAttachmentName());
} else if (forwardComment.getType() == QiscusComment.Type.AUDIO) {

This comment has been minimized.

Copy link
@adicatur

adicatur Jan 18, 2019

Contributor

btw @ariefnurputranto kedepannya ini bisa di satuin y tipenya

This comment has been minimized.

Copy link
@ariefnurputranto

ariefnurputranto Jan 21, 2019

Author Contributor

ok pak.

qiscusComment = QiscusComment.generateFileAttachmentMessage(room.getId(),forwardComment.getAttachmentUri().toString(),forwardComment.getCaption(),forwardComment.getAttachmentName());
qiscusComment = QiscusComment.generateFileAttachmentMessage(room.getId(), forwardComment.getAttachmentUri().toString(),
forwardComment.getCaption(),
forwardComment.getAttachmentName());
} else if (forwardComment.getType() == QiscusComment.Type.FILE) {
qiscusComment = QiscusComment.generateFileAttachmentMessage(room.getId(),forwardComment.getAttachmentUri().toString(),forwardComment.getCaption(),forwardComment.getAttachmentName());
qiscusComment = QiscusComment.generateFileAttachmentMessage(room.getId(), forwardComment.getAttachmentUri().toString(),
forwardComment.getCaption(),
forwardComment.getAttachmentName());
} else if (forwardComment.getType() == QiscusComment.Type.VIDEO) {
qiscusComment = QiscusComment.generateFileAttachmentMessage(room.getId(),forwardComment.getAttachmentUri().toString(),forwardComment.getCaption(),forwardComment.getAttachmentName());
qiscusComment = QiscusComment.generateFileAttachmentMessage(room.getId(), forwardComment.getAttachmentUri().toString(),
forwardComment.getCaption(),
forwardComment.getAttachmentName());
} else {
qiscusComment = QiscusComment.generateMessage(room.getId(), forwardComment.getMessage());
}
Expand Down

0 comments on commit b304612

Please sign in to comment.