!PtKxxSgyjbNPrkBvRG:matrix.org

Jeon project (another Matrix implementation on java)

24 Members
https://github.com/ma1uta/jeon (mirror: https://gitlab.com/ma1uta/jeon)9 Servers

Load older messages


SenderMessageTime
3 Apr 2020
@testitest:matrix.btwarch.tktestitest *

Hey ma1uta, hows it going?
I have an issue where I always seem to get null as the ID of the room when handling events, not sure if I'm being stupid or not.
Example code:

// list of timeline events
list.forEach(e -> {
if(e instanceof RoomEvent){
RoomEvent roomEvent = (RoomEvent) e;
System.out.println("roomId: " +  roomEvent.getRoomId());
}
});

Always returns roomId: null. But at the same time I'm able to get content of messages ... from the Events.

19:24:52
@testitest:matrix.btwarch.tktestitest *

Hey ma1uta, hows it going?
I have an issue where I always seem to get null as the ID of the room when handling events, not sure if I'm being stupid or not.
Example code:

// list of timeline events
list.forEach(e -> {
    if(e instanceof RoomEvent){
        RoomEvent roomEvent = (RoomEvent) e;
        System.out.println("roomId: " +  roomEvent.getRoomId());
    }
});

Always returns roomId: null. But at the same time I'm able to get content of messages ... from the Events.

19:25:16
4 Apr 2020
@ma1uta:ru-matrix.orgma1uta
В ответ на@testitest:matrix.btwarch.tk

Hey ma1uta, hows it going?
I have an issue where I always seem to get null as the ID of the room when handling events, not sure if I'm being stupid or not.
Example code:

// list of timeline events
list.forEach(e -> {
    if(e instanceof RoomEvent){
        RoomEvent roomEvent = (RoomEvent) e;
        System.out.println("roomId: " +  roomEvent.getRoomId());
    }
});

Always returns roomId: null. But at the same time I'm able to get content of messages ... from the Events.

Hello. It is strange. Each room event has room id. I'll check it.
08:45:04
@testitest:matrix.btwarch.tktestitestalright, take your time, it's not important for us, just wanted to let you know =)16:41:12
5 Apr 2020
@ma1uta:ru-matrix.orgma1utaOh, yes. When you get events from the sync, events doesn't contains room_id. You can get room_id from io.github.ma1uta.matrix.client.model.sync.Rooms instance where you have the map room_id -> room data.10:13:58
@ma1uta:ru-matrix.orgma1utaThis is not obvious, yes10:14:11
@ma1uta:ru-matrix.orgma1utaAnd I have got the https://github.com/matrix-org/synapse/issues/4898 issue. Hmm... I will create a workaround for this bug.11:47:11
@ttnix:matrix.orgttnix joined the room.11:56:06
@ma1uta:ru-matrix.orgma1utaAnd 0.11.3 have release with partial support of the MSC2451 and MSC2432 and client with workaround of the 4898 synapse issue.13:32:31
@testitest:matrix.btwarch.tktestitest
In reply to @ma1uta:ru-matrix.org
Oh, yes. When you get events from the sync, events doesn't contains room_id. You can get room_id from io.github.ma1uta.matrix.client.model.sync.Rooms instance where you have the map room_id -> room data.

I actually found the same workaround, should've said so, sorry.

Glad that you found a solution so quickly.

We haven't used read receipts yet so we didn't see issue 4898

16:10:58
10 Apr 2020
@new_developer1:matrix.orgnew_developer1 joined the room.13:49:58
@new_developer1:matrix.orgnew_developer1 hey ma1uta we are newExampleTest testitest we have closed our server this is a new account, we have trouble to get the avatar url if we try to mxClient.profile().showAvatarUrl(userId).join().getAvatarUrl(); we always get null back are we doing something wrong or its an bug from the sdk? best greetings 13:55:49
@ma1uta:ru-matrix.orgma1uta
В ответ на@new_developer1:matrix.org
hey ma1uta we are newExampleTest testitest we have closed our server this is a new account, we have trouble to get the avatar url if we try to mxClient.profile().showAvatarUrl(userId).join().getAvatarUrl(); we always get null back are we doing something wrong or its an bug from the sdk? best greetings
Hello. Did you have setup it? I will check it, of course.
17:02:53
12 Apr 2020
@ma1uta:ru-matrix.orgma1uta
In reply to @new_developer1:matrix.org
hey ma1uta we are newExampleTest testitest we have closed our server this is a new account, we have trouble to get the avatar url if we try to mxClient.profile().showAvatarUrl(userId).join().getAvatarUrl(); we always get null back are we doing something wrong or its an bug from the sdk? best greetings
You can look at the example https://github.com/ma1uta/matrix-client-example/blob/master/src/main/java/io/github/ma1uta/matrix/example/AvatarUrlExample.java (thanks Travis for the avatar). In the next version I will improve media API, currently it is not such usable.
12:00:31
18 May 2020
@ma1uta:ru-matrix.orgma1uta

Release 0.12.0: https://github.com/ma1uta/jeon/releases/tag/0.12.0 and https://github.com/ma1uta/jmsdk/releases/tag/0.12.0
Changes:

  • for C2S API added SSO login type;
  • matrix client splitted into blocked and async API.
  • few bugfixes.
20:21:33
1 Jun 2020
@matthew:matrix.orgMatthew ma1uta: are you using jeon in prod? 21:57:57
2 Jun 2020
@ma1uta:ru-matrix.orgma1uta
В ответ на@matthew:matrix.org
ma1uta: are you using jeon in prod?
No, my job don't related with matrix or jeon.
10:37:13
@ma1uta:ru-matrix.orgma1utaOr ma1sd.10:37:47
@matthew:matrix.orgMatthewi don't mean using it professionally10:44:06
@matthew:matrix.orgMatthewi'm just curious how the jeon codebase is being used10:44:20
@matthew:matrix.orgMatthewand whether there is stuff built on it which is live on the open network (i.e. "in production")10:44:38
@ma1uta:ru-matrix.orgma1uta I see. I use it in the mxtoot bot (matrix-mastodont bridge). testitest and new_developer1 used it in the education. Other stuff still in the development. 11:38:41
@ma1uta:ru-matrix.orgma1utaThats all I know.11:39:20
3 Jun 2020
@brendan:abolivier.bzhBrendan Abolivier changed their profile picture.14:49:37
16 Jun 2020
@brendan:abolivier.bzhBrendan Abolivier left the room.16:19:36
28 Jun 2020
@psydroid:matrix.orgpsydroid joined the room.09:55:51
7 Jul 2020
@sarah083:matrix.org@sarah083:matrix.org joined the room.17:03:27
@sarah083:matrix.org@sarah083:matrix.org left the room.22:08:49
30 Jul 2020
@benpa:matrix.orgbenpa-matrix changed their display name from benpa to benpa-matrix.13:07:10
7 Feb 2021
@dddenis:matrix.orgДенис joined the room.03:21:50

Show newer messages


Back to Room ListRoom Version: