mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 01:35:12 +00:00
sql issue
This commit is contained in:
parent
8befb91021
commit
59320ff34d
1 changed files with 1 additions and 1 deletions
|
@ -5190,7 +5190,7 @@ class Activity
|
||||||
$actorId = new ActorId($url);
|
$actorId = new ActorId($url);
|
||||||
if ($actorId->getType() === ActorId::ACTORID_TYPE_DIDKEY) {
|
if ($actorId->getType() === ActorId::ACTORID_TYPE_DIDKEY) {
|
||||||
$ekey = str_replace('did:key:', '', $actorId->getId());
|
$ekey = str_replace('did:key:', '', $actorId->getId());
|
||||||
$query = q("select * from xchan where epubkey = '%s'",
|
$query = q("select * from xchan where xchan_epubkey = '%s'",
|
||||||
dbesc($ekey)
|
dbesc($ekey)
|
||||||
);
|
);
|
||||||
if ($query) {
|
if ($query) {
|
||||||
|
|
Loading…
Reference in a new issue