aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2018-04-24 21:27:54 +0200
committerChristian Schneppe <christian@pix-art.de>2018-04-24 21:27:54 +0200
commit83bbab5b9d59adf48b1e2d9c51606c2a2abd7206 (patch)
tree159298fdec2fb7ee5d34e5b5327ab017d6b3194f /src/main/java/de/pixart/messenger
parenta2e8e6bc4b1fa7a6b478ce699356bb3ab805492b (diff)
fixed exception handler
Diffstat (limited to 'src/main/java/de/pixart/messenger')
-rw-r--r--src/main/java/de/pixart/messenger/ui/ConversationFragment.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/ConversationFragment.java b/src/main/java/de/pixart/messenger/ui/ConversationFragment.java
index debc7bdd2..2febcded4 100644
--- a/src/main/java/de/pixart/messenger/ui/ConversationFragment.java
+++ b/src/main/java/de/pixart/messenger/ui/ConversationFragment.java
@@ -1865,7 +1865,7 @@ public class ConversationFragment extends XmppFragment implements EditMessage.Ke
for (int i = pos; i >= 0; --i) {
try {
message = (Message) binding.messagesView.getItemAtPosition(i);
- } catch (ArrayIndexOutOfBoundsException e) {
+ } catch (IndexOutOfBoundsException e) {
//should not happen if we synchronize properly. however if that fails we just gonna try item -1
continue;
}