|
|
|
@ -49,6 +49,9 @@
|
|
|
|
|
$icon_cached = room_icon_path($room_id);
|
|
|
|
|
$icon_resized = room_icon_path_resized($room_id, $size);
|
|
|
|
|
if (file_exists($icon_resized)) {
|
|
|
|
|
if (empty(file_get_contents($icon_resized))) {
|
|
|
|
|
return "";
|
|
|
|
|
}
|
|
|
|
|
return room_icon_path_relative($room_id, $size);
|
|
|
|
|
}
|
|
|
|
|
if (!file_exists($icon_cached)) {
|
|
|
|
|