mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-28 11:42:15 -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"
|
||||
* or more than one image link in one message.
|
||||
*/
|
||||
if (body.contains(" ")) {
|
||||
if (body.trim().contains(" ")) {
|
||||
return false;
|
||||
}
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user