summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordumpfmprod <dumpfmprod@ubuntu.(none)>2010-03-17 07:30:19 -0400
committerdumpfmprod <dumpfmprod@ubuntu.(none)>2010-03-17 07:30:19 -0400
commit0cb2ca7af30d47e6ff3a5b0e4afd7e5a85e23315 (patch)
tree54d465066426117eb1cc0b5ad5c0309a2b99a224
parent436b7f8992baf25bc48ff28516fce4234f619b6d (diff)
parent574361d93fed7583e6a4bc46defb17516a4a41ed (diff)
Merge branch 'master' of /pichat/repo
-rwxr-xr-xsrc/site.clj1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/site.clj b/src/site.clj
index 9ecff8d..e0a03e4 100755
--- a/src/site.clj
+++ b/src/site.clj
@@ -247,6 +247,7 @@
(let [st (.getInstanceOf template-group template)]
(if (session :nick)
(do (.setAttribute st "user_nick" (session :nick))
+ (if (non-empty-string? (session :avatar)) (.setAttribute st "user_avatar" (session :avatar)))
(.setAttribute st "isadmin" (session :is_admin))))
st))