Fix presence event reporting in test client

This commit is contained in:
Gergely Polonkai 2016-03-08 14:28:44 +01:00 committed by Gergely Polonkai
parent 39fd66946e
commit c8c26a5398

View File

@ -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