missing arg to diaspora_transmit from share/unshare
This commit is contained in:
parent
72af2d610b
commit
1d05c564d4
2 changed files with 3 additions and 3 deletions
2
boot.php
2
boot.php
|
@ -8,7 +8,7 @@ require_once("include/pgettext.php");
|
||||||
require_once('include/nav.php');
|
require_once('include/nav.php');
|
||||||
|
|
||||||
define ( 'FRIENDIKA_PLATFORM', 'Free Friendika');
|
define ( 'FRIENDIKA_PLATFORM', 'Free Friendika');
|
||||||
define ( 'FRIENDIKA_VERSION', '2.3.1126' );
|
define ( 'FRIENDIKA_VERSION', '2.3.1127' );
|
||||||
define ( 'DFRN_PROTOCOL_VERSION', '2.21' );
|
define ( 'DFRN_PROTOCOL_VERSION', '2.21' );
|
||||||
define ( 'DB_UPDATE_VERSION', 1094 );
|
define ( 'DB_UPDATE_VERSION', 1094 );
|
||||||
|
|
||||||
|
|
|
@ -1008,7 +1008,7 @@ function diaspora_share($me,$contact) {
|
||||||
|
|
||||||
$slap = 'xml=' . urlencode(urlencode(diaspora_msg_build($msg,$me,$contact,$me['prvkey'],$contact['pubkey'])));
|
$slap = 'xml=' . urlencode(urlencode(diaspora_msg_build($msg,$me,$contact,$me['prvkey'],$contact['pubkey'])));
|
||||||
|
|
||||||
return(diaspora_transmit($owner,$contact,$slap));
|
return(diaspora_transmit($owner,$contact,$slap, false));
|
||||||
}
|
}
|
||||||
|
|
||||||
function diaspora_unshare($me,$contact) {
|
function diaspora_unshare($me,$contact) {
|
||||||
|
@ -1025,7 +1025,7 @@ function diaspora_unshare($me,$contact) {
|
||||||
|
|
||||||
$slap = 'xml=' . urlencode(urlencode(diaspora_msg_build($msg,$me,$contact,$me['prvkey'],$contact['pubkey'])));
|
$slap = 'xml=' . urlencode(urlencode(diaspora_msg_build($msg,$me,$contact,$me['prvkey'],$contact['pubkey'])));
|
||||||
|
|
||||||
return(diaspora_transmit($owner,$contact,$slap));
|
return(diaspora_transmit($owner,$contact,$slap, false));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue