forked from GNUsocial/gnu-social
uniquify the list of reply nicknames (DOH!)
darcs-hash:20080717164042-84dde-191bc47dc302911e4ceae0d3b1e74116bb95bcba.gz
This commit is contained in:
parent
3ea1119e50
commit
c51d1521f0
@ -880,7 +880,7 @@ function common_save_replies($notice) {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
# XXX: is there another way to make an array copy?
|
# XXX: is there another way to make an array copy?
|
||||||
$names = ($tname) ? array_unique(array_merge(array(strtolower($tname)), $match[1])) : $match[1];
|
$names = ($tname) ? array_unique(array_merge(array(strtolower($tname)), $match[1])) : array_unique($match[1]);
|
||||||
$sender = Profile::staticGet($notice->profile_id);
|
$sender = Profile::staticGet($notice->profile_id);
|
||||||
# store replied only for first @ (what user/notice what the reply directed,
|
# store replied only for first @ (what user/notice what the reply directed,
|
||||||
# we assume first @ is it)
|
# we assume first @ is it)
|
||||||
|
Loading…
Reference in New Issue
Block a user