Fix for NPE on failed icon click.

This commit is contained in:
Moxie Marlinspike 2013-05-17 12:53:16 -07:00
parent d8e3e4c683
commit b99cca8bfa

View File

@ -495,7 +495,7 @@ public class ConversationItem extends LinearLayout {
public void onClick(View v) {
if (failedIconHandler != null && !messageRecord.isKeyExchange()) {
Message message = Message.obtain();
message.obj = messageRecord.getBody();
message.obj = messageRecord.getBody().getBody();
failedIconHandler.dispatchMessage(message);
}
}