Skip to content

Commit ba6800a

Browse files
committed
Fix Conference entity not being same as returned from the API if constructed manually
1 parent e7eeed8 commit ba6800a

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

  • library/src/main/java/com/proxerme/library/connection/messenger/entity

library/src/main/java/com/proxerme/library/connection/messenger/entity/Conference.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,7 @@ public Conference(@NonNull String id, @NonNull String topic, @NonNull String cus
8787
this.time = time;
8888
this.unreadMessageAmount = unreadMessageAmount;
8989
this.lastReadMessageId = lastReadMessageId;
90-
91-
if (imageType == null || imageType.isEmpty() || imageId == null || imageType.isEmpty()) {
92-
this.image = EMPTY_RESULT;
93-
} else {
94-
this.image = imageType + IMAGE_DELIMITER + imageId;
95-
}
90+
this.image = imageType + IMAGE_DELIMITER + imageId;
9691
}
9792

9893
protected Conference(Parcel in) {

0 commit comments

Comments
 (0)