mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-30 20:52:21 -05:00
made white space check in bodyContainsDownloadable less aggresive
This commit is contained in:
parent
7ccdc772ed
commit
fce30f22c9
@ -440,7 +440,7 @@ public class Message extends AbstractEntity {
|
|||||||
* "http://example.com/image.jpg text that will not be shown /abc.png"
|
* "http://example.com/image.jpg text that will not be shown /abc.png"
|
||||||
* or more than one image link in one message.
|
* or more than one image link in one message.
|
||||||
*/
|
*/
|
||||||
if (body.contains(" ")) {
|
if (body.trim().contains(" ")) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user