Support chess

This commit is contained in:
Anders Rune Jensen
2017-08-01 20:57:21 +02:00
parent ccc712bad7
commit 880f0401de
+4
View File
@@ -395,6 +395,10 @@ function render(opts, id, c) {
h('a', { href: base + c.contact }, name)]);
} else if (typeof c == "string") {
return h('span.status', 'Wrote something private')
} else if (c.type == "chess_move") {
return h('span.status', 'Moved a chess piece')
} else if (c.type == "chess_invite") {
return h('span.status', 'Started a chess game')
}
else if (c.type == "about") {
return [h('span.status', 'Changed something in about'),