diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-11-09 23:15:50 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2021-11-09 23:15:50 +0100 |
commit | ac7792ab371f8ee17804539b564a4a13b539ab73 (patch) | |
tree | 9bd0ef38c32c72e7fedd61fef1af906c51a16247 /views | |
parent | 023c7e0c87ee0ff96b17cd4e4a3b0915d1c223d1 (diff) | |
download | server-ac7792ab371f8ee17804539b564a4a13b539ab73.tar.gz |
Handle missing users.
Diffstat (limited to 'views')
-rw-r--r-- | views/user.ejs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/views/user.ejs b/views/user.ejs index aa5d00f..9da706c 100644 --- a/views/user.ejs +++ b/views/user.ejs @@ -12,5 +12,7 @@ Member since <%= who.ctime %>. <p> Was last seen <%= who.atime %>. +<% if (user) { %> <p> <a href="/message/send/<%- who.name %>">Send message</a> +<% } %> |