From c8c26a539879518c9224e173b27a762e4f9ff261 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Tue, 8 Mar 2016 14:28:44 +0100 Subject: [PATCH] Fix presence event reporting in test client --- src/test-client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test-client.c b/src/test-client.c index 72bc903..a8e92c8 100644 --- a/src/test-client.c +++ b/src/test-client.c @@ -53,7 +53,7 @@ cb_presence_event(MatrixClient *client, gpointer user_data) { g_printerr("Incoming presence event from %s!\n", - matrix_event_room_get_sender(MATRIX_EVENT_PRESENCE(event))); + matrix_event_presence_get_user_id(MATRIX_EVENT_PRESENCE(event))); } static void