mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-24 16:57:50 +00:00
parent
3be55e36d9
commit
67cab3ce86
@ -292,6 +292,7 @@ public class ConversationAdapter <V extends View & BindableConversationItem>
|
|||||||
if (isHeaderPosition(position)) return -1;
|
if (isHeaderPosition(position)) return -1;
|
||||||
if (isFooterPosition(position)) return -1;
|
if (isFooterPosition(position)) return -1;
|
||||||
if (position >= getItemCount()) return -1;
|
if (position >= getItemCount()) return -1;
|
||||||
|
if (position < 0) return -1;
|
||||||
|
|
||||||
Cursor cursor = getCursorAtPositionOrThrow(position);
|
Cursor cursor = getCursorAtPositionOrThrow(position);
|
||||||
MessageRecord record = getMessageRecord(cursor);
|
MessageRecord record = getMessageRecord(cursor);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user