summaryrefslogtreecommitdiff
path: root/Juick/Views/ConversationCell.m
diff options
context:
space:
mode:
Diffstat (limited to 'Juick/Views/ConversationCell.m')
-rw-r--r--Juick/Views/ConversationCell.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Juick/Views/ConversationCell.m b/Juick/Views/ConversationCell.m
index ff5ec2f..4a0be13 100644
--- a/Juick/Views/ConversationCell.m
+++ b/Juick/Views/ConversationCell.m
@@ -22,7 +22,7 @@
self.lastMessage.text = chat.lastMessageText;
self.unreadMarker.hidden = chat.unreadCount > 0;
__weak UIImageView *weakAvatar = self.avatar;
- [self.avatar setImageWithURLRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"https://i.juick.com/a/%d.png", [chat.uid intValue]]]] placeholderImage:nil success:^(NSURLRequest * _Nonnull request, NSHTTPURLResponse * _Nullable response, UIImage * _Nonnull image) {
+ [self.avatar setImageWithURLRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:chat.avatar]] placeholderImage:nil success:^(NSURLRequest * _Nonnull request, NSHTTPURLResponse * _Nullable response, UIImage * _Nonnull image) {
[UIView transitionWithView:weakAvatar
duration:0.3
options:UIViewAnimationOptionTransitionCrossDissolve