mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-27 12:05:22 +00:00
Fix for NPE on failed icon click.
This commit is contained in:
parent
d8e3e4c683
commit
b99cca8bfa
@ -495,7 +495,7 @@ public class ConversationItem extends LinearLayout {
|
|||||||
public void onClick(View v) {
|
public void onClick(View v) {
|
||||||
if (failedIconHandler != null && !messageRecord.isKeyExchange()) {
|
if (failedIconHandler != null && !messageRecord.isKeyExchange()) {
|
||||||
Message message = Message.obtain();
|
Message message = Message.obtain();
|
||||||
message.obj = messageRecord.getBody();
|
message.obj = messageRecord.getBody().getBody();
|
||||||
failedIconHandler.dispatchMessage(message);
|
failedIconHandler.dispatchMessage(message);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user