aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMaiddog <[email protected]>2017-08-21 21:59:43 -0500
committerZeyla Hellyer <[email protected]>2017-08-21 19:59:43 -0700
commit16a5828394c21baf799366136f5d48e20447a49e (patch)
tree9446ef50cb49a1e44aff4f05c02f34574c3afc30 /src
parentCfg the display impls as well (diff)
downloadserenity-16a5828394c21baf799366136f5d48e20447a49e.tar.xz
serenity-16a5828394c21baf799366136f5d48e20447a49e.zip
Fix presence updates
Was waiting a couple more days on #139, but since this is broken functionality it's probably best to fix it sooner. Travis failures are all from unrelated commits, thanks.
Diffstat (limited to 'src')
-rw-r--r--src/gateway/shard.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gateway/shard.rs b/src/gateway/shard.rs
index 533d1f4..dc7ee83 100644
--- a/src/gateway/shard.rs
+++ b/src/gateway/shard.rs
@@ -909,6 +909,8 @@ impl Shard {
"status": status.name(),
"game": game.as_ref().map(|x| json!({
"name": x.name,
+ "type": x.kind,
+ "url": x.url,
})),
},
});