fix(whatsapp.lib): Sending of images in official.
This commit is contained in:
parent
e25b30f793
commit
abee86f162
1 changed files with 1 additions and 1 deletions
|
@ -665,7 +665,7 @@ export class GBConversationalService {
|
||||||
: fileUrl;
|
: fileUrl;
|
||||||
|
|
||||||
if (!isMedia) {
|
if (!isMedia) {
|
||||||
text = text.substring(image.length).trim();
|
text = text.substring(image.length + 1).trim();
|
||||||
text = text.replace(/\n/g, "\\n");
|
text = text.replace(/\n/g, "\\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue