Merge pull request #3585 from annando/bugfix-like-signature
Bugfix: Signatures for likes hadn't been stored
This commit is contained in:
commit
a58f9b3aaa
2
boot.php
2
boot.php
|
@ -42,7 +42,7 @@ define ( 'FRIENDICA_PLATFORM', 'Friendica');
|
||||||
define ( 'FRIENDICA_CODENAME', 'Asparagus');
|
define ( 'FRIENDICA_CODENAME', 'Asparagus');
|
||||||
define ( 'FRIENDICA_VERSION', '3.5.3-dev' );
|
define ( 'FRIENDICA_VERSION', '3.5.3-dev' );
|
||||||
define ( 'DFRN_PROTOCOL_VERSION', '2.23' );
|
define ( 'DFRN_PROTOCOL_VERSION', '2.23' );
|
||||||
define ( 'DB_UPDATE_VERSION', 1232 );
|
define ( 'DB_UPDATE_VERSION', 1233 );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Constant with a HTML line break.
|
* @brief Constant with a HTML line break.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
-- ------------------------------------------
|
-- ------------------------------------------
|
||||||
-- Friendica 3.5.3-dev (Asparagus)
|
-- Friendica 3.5.3-dev (Asparagus)
|
||||||
-- DB_UPDATE_VERSION 1231
|
-- DB_UPDATE_VERSION 1233
|
||||||
-- ------------------------------------------
|
-- ------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
@ -944,7 +944,7 @@ CREATE TABLE IF NOT EXISTS `sign` (
|
||||||
`signature` text,
|
`signature` text,
|
||||||
`signer` varchar(255) NOT NULL DEFAULT '',
|
`signer` varchar(255) NOT NULL DEFAULT '',
|
||||||
PRIMARY KEY(`id`),
|
PRIMARY KEY(`id`),
|
||||||
INDEX `iid` (`iid`)
|
UNIQUE INDEX `iid` (`iid`)
|
||||||
) DEFAULT COLLATE utf8mb4_general_ci;
|
) DEFAULT COLLATE utf8mb4_general_ci;
|
||||||
|
|
||||||
--
|
--
|
||||||
|
|
|
@ -1572,7 +1572,7 @@ function db_definition() {
|
||||||
),
|
),
|
||||||
"indexes" => array(
|
"indexes" => array(
|
||||||
"PRIMARY" => array("id"),
|
"PRIMARY" => array("id"),
|
||||||
"iid" => array("iid"),
|
"iid" => array("UNIQUE", "iid"),
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
$database["spam"] = array(
|
$database["spam"] = array(
|
||||||
|
|
|
@ -3729,7 +3729,7 @@ class Diaspora {
|
||||||
* This will break Diaspora compatibility with Friendica versions prior to 3.5.
|
* This will break Diaspora compatibility with Friendica versions prior to 3.5.
|
||||||
*/
|
*/
|
||||||
q("INSERT INTO `sign` (`iid`,`signed_text`) VALUES (%d,'%s')",
|
q("INSERT INTO `sign` (`iid`,`signed_text`) VALUES (%d,'%s')",
|
||||||
intval($message_id),
|
intval($post_id),
|
||||||
dbesc(json_encode($message))
|
dbesc(json_encode($message))
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
define('UPDATE_VERSION' , 1232);
|
define('UPDATE_VERSION' , 1233);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue