Skip to content

Commit 4417afa

Browse files
committed
Merge pull request #937 from mgp25/patch-24
Fixed sendMessageAudio forwarding
2 parents c48f3f1 + ff4a76b commit 4417afa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/whatsprot.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -995,7 +995,7 @@ public function sendMessage($to, $txt, $id = null)
995995
* @param bool $storeURLmedia Keep copy of file
996996
* @return bool
997997
*/
998-
public function sendMessageAudio($to, $filepath, $storeURLmedia = false)
998+
public function sendMessageAudio($to, $filepath, $storeURLmedia = false, $fsize = 0, $fhash = "")
999999
{
10001000
if ($fsize==0 || $fhash == "")
10011001
{

0 commit comments

Comments
 (0)