From 8ad09d33956ff508494aabed7edbfe9a383b9c92 Mon Sep 17 00:00:00 2001 From: Mario Danic Date: Thu, 5 Sep 2019 13:21:48 +0200 Subject: [PATCH] Update chatkit Signed-off-by: Mario Danic --- app/build.gradle | 2 +- .../java/com/nextcloud/talk/controllers/ChatController.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 56dab63d9..5330b32b9 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -212,7 +212,7 @@ dependencies { implementation 'me.zhanghai.android.effortlesspermissions:library:1.1.0' implementation 'org.apache.commons:commons-lang3:3.9' implementation 'com.github.wooplr:Spotlight:1.3' - implementation('com.github.mario:chatkit:3c6c60228b', { + implementation('com.github.mario:chatkit:fb4dc970f7', { exclude group: 'com.facebook.fresco' }) diff --git a/app/src/main/java/com/nextcloud/talk/controllers/ChatController.java b/app/src/main/java/com/nextcloud/talk/controllers/ChatController.java index f614175a6..3b2b5abaf 100644 --- a/app/src/main/java/com/nextcloud/talk/controllers/ChatController.java +++ b/app/src/main/java/com/nextcloud/talk/controllers/ChatController.java @@ -413,7 +413,7 @@ public class ChatController extends BaseController implements MessagesListAdapte adapter = new MessagesListAdapter<>(conversationUser.getUserId(), messageHolders, new ImageLoader() { @Override - public void loadImage(SimpleDraweeView imageView, String url) { + public void loadImage(SimpleDraweeView imageView, @androidx.annotation.Nullable String url, @androidx.annotation.Nullable Object payload) { DraweeController draweeController = Fresco.newDraweeControllerBuilder() .setImageRequest(DisplayUtils.getImageRequestForUrl(url, conversationUser)) .setControllerListener(DisplayUtils.getImageControllerListener(imageView))