Skip to content

Commit

Permalink
Update Channel URL
Browse files Browse the repository at this point in the history
  • Loading branch information
Tien committed May 11, 2022
1 parent 524b331 commit 6b4b76c
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,9 @@ public static void loadChannelCover(ChannelCoverView coverView, BaseChannel chan

public static List<String> makeProfileUrlsFromChannel(GroupChannel channel) {
List<String> urls = new ArrayList<>();
if (!isDefaultChannelCover(channel)) {
urls.add(channel.getCoverUrl());
} else {
// if (!isDefaultChannelCover(channel)) {
// urls.add(channel.getCoverUrl());
// } else {
String myUserId = "";
if (SendBird.getCurrentUser() != null) {
myUserId = SendBird.getCurrentUser().getUserId();
Expand All @@ -126,7 +126,7 @@ public static List<String> makeProfileUrlsFromChannel(GroupChannel channel) {
}
urls.add(member.getProfileUrl());
}
}
// }
return urls;
}

Expand Down

0 comments on commit 6b4b76c

Please sign in to comment.