mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-24 00:37:47 +00:00
Fix ClassCastException for notifications
Resolves #2691 Closes #2692 // FREEBIE
This commit is contained in:
parent
186a5e4dfc
commit
71eeb7ca83
@ -248,7 +248,9 @@ public class ConversationItem extends LinearLayout {
|
||||
}
|
||||
|
||||
private boolean hasMedia(MessageRecord messageRecord) {
|
||||
return messageRecord.isMms() && ((MediaMmsMessageRecord)messageRecord).getPartCount() > 0;
|
||||
return messageRecord.isMms() &&
|
||||
!messageRecord.isMmsNotification() &&
|
||||
((MediaMmsMessageRecord)messageRecord).getPartCount() > 0;
|
||||
}
|
||||
|
||||
private void setBodyText(MessageRecord messageRecord) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user