diff --git a/app/controllers/User.scala b/app/controllers/User.scala
index 09957a2a75..2a243bf76a 100644
--- a/app/controllers/User.scala
+++ b/app/controllers/User.scala
@@ -55,7 +55,7 @@ object User extends LilaController {
crosstable <- ctx.userId ?? { Env.game.crosstableApi(user.id, _) }
followable <- ctx.isAuth ?? { Env.pref.api.followable(user.id) }
relation <- ctx.userId ?? { relationApi.fetchRelation(_, user.id) }
- ping = UserLagCache.getLagRating(user.id)
+ ping = env.isOnline(user.id) ?? UserLagCache.getLagRating(user.id)
res <- negotiate(
html = !ctx.is(user) ?? GameRepo.lastPlayedPlaying(user) map { pov =>
Ok(html.user.mini(user, pov, blocked, followable, relation, ping, crosstable))
diff --git a/app/templating/UserHelper.scala b/app/templating/UserHelper.scala
index 11a875c0a9..58a65b8285 100644
--- a/app/templating/UserHelper.scala
+++ b/app/templating/UserHelper.scala
@@ -274,8 +274,8 @@ trait UserHelper { self: I18nHelper with StringHelper with NumberHelper =>
val patronIconChar = ""
val lineIconChar = ""
- val lineIcon: String = s""""""
- val patronIcon: String = s""""""
+ val lineIcon: String = """"""
+ val patronIcon: String = """"""
private def lineIcon(patron: Boolean): String = if (patron) patronIcon else lineIcon
private def lineIcon(user: Option[LightUser]): String = lineIcon(user.??(_.isPatron))
def lineIcon(user: User): String = lineIcon(user.isPatron)