https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
675f54e
)
Issue 9633: Avoid contact lookup in conversation to avoid long loading times
author
Michael Vogel
<icarus@dabo.de>
Fri, 11 Dec 2020 14:16:29 +0000
(15:16 +0100)
committer
Michael Vogel
<icarus@dabo.de>
Fri, 11 Dec 2020 14:16:29 +0000
(15:16 +0100)
include/conversation.php
patch
|
blob
|
history
diff --git
a/include/conversation.php
b/include/conversation.php
index
837c6a0
..
f0d121a
100644
(file)
--- a/
include/conversation.php
+++ b/
include/conversation.php
@@
-324,8
+324,7
@@
function conv_get_blocklist()
$blocklist = [];
foreach (explode(',', $str_blocked) as $entry) {
- // The 4th parameter guarantees that there always will be a public contact entry
- $cid = Contact::getIdForURL(trim($entry), 0, false, ['url' => trim($entry)]);
+ $cid = Contact::getIdForURL(trim($entry), 0, false);
if (!empty($cid)) {
$blocklist[] = $cid;
}