diff options
-rw-r--r-- | src/cmumble.c | 2 | ||||
-rw-r--r-- | src/cmumble.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/cmumble.c b/src/cmumble.c index d2d60df..d276c8a 100644 --- a/src/cmumble.c +++ b/src/cmumble.c @@ -163,7 +163,7 @@ recv_user_state(MumbleProto__UserState *state, struct cmumble_context *ctx) user->session = state->session; user->name = g_strdup(state->name); user->id = state->user_id; - + user->channel = find_channel(ctx, state->channel_id); cmumble_audio_create_playback_pipeline(ctx, user); g_print("receive user: %s\n", user->name); diff --git a/src/cmumble.h b/src/cmumble.h index 8caa9ef..5168718 100644 --- a/src/cmumble.h +++ b/src/cmumble.h @@ -38,6 +38,7 @@ struct cmumble_user { uint32_t session; char *name; uint32_t id; + struct cmumble_channel *channel; GstElement *pipeline; GstAppSrc *src; |