|
|
@ -48,7 +48,7 @@
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public static function cacheable_room_tags(array $tags) {
|
|
|
|
public static function cacheable_room_tags(array $tags) {
|
|
|
|
return array_map(
|
|
|
|
return array_map(
|
|
|
|
'CommunityTag::__toString',
|
|
|
|
function (\CommunityTag $tag) { return $tag->__toString(); },
|
|
|
|
array_filter($tags, function(\CommunityTag $tag) {
|
|
|
|
array_filter($tags, function(\CommunityTag $tag) {
|
|
|
|
return $tag->type == TagType::USER_TAG;
|
|
|
|
return $tag->type == TagType::USER_TAG;
|
|
|
|
})
|
|
|
|
})
|
|
|
|