!jiRZORhJXxYobcAysp:matrix.org

Matrix JS SDK

134 Members
Unofficial discussion for the Matrix JS SDK library | https://github.com/matrix-org/matrix-js-sdk33 Servers

Load older messages


SenderMessageTime
11 Dec 2023
@north:nullpointer.latNorthThat I'm trying to use it on undefined03:45:42
@north:nullpointer.latNorthTypeError: Cannot read properties of undefined (reading 'decryptEvent')03:50:20
@florianduros:element.ioFlorian Duros 🦡 changed their display name from Florian Duros 🦡 to Florian Duros 🦡 [ Maintainer ].08:58:36
12 Dec 2023
@andrewperry:matrix.organdrewperry North: have you installed the separate crypto code from gitlab? 04:07:57
@andrewperry:matrix.organdrewperry * North: have you installed the separate crypto code from gitlab as per the readme? 04:08:09
@north:nullpointer.latNorthI have the @matrix_org/olm installed04:15:32
@north:nullpointer.latNorthimage.png
Download image.png
04:15:53
@north:nullpointer.latNorthThis is the current code I have04:16:02
@north:nullpointer.latNorth andrewperry: I looked a bunch of bot examples around GitHub, I honestly don't know what's wrong 04:20:21
@bobby123:envs.netbobby123where can I find out what formatting options Matrix supports?17:26:32
@bobby123:envs.netbobby123like code tags, quote block, etc.17:26:41
13 Dec 2023
@andrewperry:matrix.organdrewperry
In reply to @north:nullpointer.lat
andrewperry: I looked a bunch of bot examples around GitHub, I honestly don't know what's wrong
Unfortunately we’ve not got any further than you then at the moment. Hopefully someone else can help from here…
03:53:36
@north:nullpointer.latNorthI managed to fix it by changing client._crypto to client.getCrypto()09:50:18
@north:nullpointer.latNorth Thanks andrewperry for your help 09:50:32
@andrewperry:matrix.organdrewperry
In reply to @north:nullpointer.lat
Thanks andrewperry for your help
Thanks for sharing your experience North! It may help us and others too!  
13:18:14
15 Dec 2023
@florianduros:element.ioFlorian Duros 🦡 changed their display name from Florian Duros 🦡 [ Maintainer ] to Florian Duros 🦡.16:50:29
16 Dec 2023
@errhead:matrix.org@errhead:matrix.org left the room.01:59:10
19 Dec 2023
@bobby123:envs.netbobby123
    try {
      await client.addThreePidOnly({
        sid,
        client_secret,
      });
    } catch(e) {
      const auth = {
        sid,
        client_secret,
        auth: {
          type: AuthType.Password,
          session: e.data.session,
          password: import.meta.env.VITE_PASSWORD,
        },
      }
      axios.post(`${client.baseUrl}/_matrix/client/v3/account/3pid/add`, auth, {headers: {Authorization: `Bearer ${session.accessToken}`}})
    }

21:54:57
@bobby123:envs.netbobby123
{
    "session": "DWwoiKHuLkADFRDBIcmljerH",
    "flows": [
        {
            "stages": [
                "m.login.password"
            ]
        }
    ],
    "params": {}
}
21:55:25
@bobby123:envs.netbobby123 *
{
    "session": "xxx",
    "flows": [
        {
            "stages": [
                "m.login.password"
            ]
        }
    ],
    "params": {}
}
21:55:30
@bobby123:envs.netbobby123
{"sid":"glaclXQLjKLzsjcb","client_secret":"TGHGOyCXhSU6fem0NVErz3gxgtlzmf0U","auth":{"type":"m.login.password","session":"xxx","password":"okay"}}```
21:56:17
@bobby123:envs.netbobby123why does this still give me 400 back?21:56:30
@bobby123:envs.netbobby123

No validated 3pid session found

22:17:25
@bobby123:envs.netbobby123solution?22:17:28
@bobby123:envs.netbobby123 Spoiler 22:39:46
@bobby123:envs.netbobby123 * <spoiler>test</spoiler>22:40:41
@bobby123:envs.netbobby123 * [spoiler]test[/spoiler]22:40:54
@bobby123:envs.netbobby123 * <spoiler>test</spoiler>22:41:10
@bobby123:envs.netbobby123 * spoiler 22:41:30
23 Dec 2023
@skylord123:skylar.techskylord123https://github.com/matrix-org/matrix-js-sdk/issues/3001#issuecomment-1868109829 ^ Found out how to paginate room events and made a comment on this thread about it. Hope it helps someone else.05:07:23

Show newer messages


Back to Room ListRoom Version: 5