From be730e09b6376a40fd3852d5a2c8876b27c2c7bb Mon Sep 17 00:00:00 2001 From: Patrick Date: Tue, 14 Nov 2023 13:12:41 +0100 Subject: update examples --- examples/Login.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'examples/Login.c') diff --git a/examples/Login.c b/examples/Login.c index 08f981a..ffa4dd3 100644 --- a/examples/Login.c +++ b/examples/Login.c @@ -1,10 +1,11 @@ #include #include -#define SERVER "https://matrix.org" -#define USERNAME "pscho" -#define PASSWORD "Wc23EbmB9G3faMq" -#define DISPLAYNAME "MatrixClient" +#define SERVER "https://matrix.org" +#define USER_ID "@example:matrix.org" +#define USERNAME "" +#define PASSWORD "" +#define DEVICE_NAME "" int @@ -18,7 +19,7 @@ main(void) MatrixClientLoginPassword(&client, USERNAME, PASSWORD, - DISPLAYNAME); + DEVICE_NAME); printf("Access Token: %s\n", client.accessToken); printf("Device ID: %s\n", client.deviceId); -- cgit v1.2.3