mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
use getSummarytext() for images and so on but with 10 mio characters limit
This commit is contained in:
@@ -363,7 +363,11 @@ public class ConversationFragment extends Fragment
|
||||
DcContact contact = dcContext.getContact(msg.getFromId());
|
||||
result.append(contact.getDisplayName()).append(":\n");
|
||||
}
|
||||
result.append(msg.getText());
|
||||
if(msg.getType() == DcMsg.DC_MSG_TEXT) {
|
||||
result.append(msg.getText());
|
||||
} else {
|
||||
result.append(msg.getSummarytext(10000000));
|
||||
}
|
||||
|
||||
prevMsg = msg;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user