Commit 880f0401de03d40ddee364368a08983f02495fd6
Support chess
Anders Rune Jensen committed on 8/1/2017, 6:57:21 PMParent: ccc712bad78a439c6287c829554052b9cd943a4b
Files changed
render.js | changed |
render.js | ||
---|---|---|
@@ -394,8 +394,12 @@ | ||
394 | 394 … | ['Unfollowed ', |
395 | 395 … | h('a', { href: base + c.contact }, name)]); |
396 | 396 … | } else if (typeof c == "string") { |
397 | 397 … | return h('span.status', 'Wrote something private') |
398 … | + } else if (c.type == "chess_move") { | |
399 … | + return h('span.status', 'Moved a chess piece') | |
400 … | + } else if (c.type == "chess_invite") { | |
401 … | + return h('span.status', 'Started a chess game') | |
398 | 402 … | } |
399 | 403 … | else if (c.type == "about") { |
400 | 404 … | return [h('span.status', 'Changed something in about'), |
401 | 405 … | renderDefault(c)]; |
Built with git-ssb-web