11 Dec 2023 |
North | That I'm trying to use it on undefined | 03:45:42 |
North | TypeError: Cannot read properties of undefined (reading 'decryptEvent') | 03:50:20 |
| Florian Duros 🦡 changed their display name from Florian Duros 🦡 to Florian Duros 🦡 [ Maintainer ]. | 08:58:36 |
12 Dec 2023 |
andrewperry | North: have you installed the separate crypto code from gitlab? | 04:07:57 |
andrewperry | * North: have you installed the separate crypto code from gitlab as per the readme? | 04:08:09 |
North | I have the @matrix_org/olm installed | 04:15:32 |
North | Download image.png | 04:15:53 |
North | This is the current code I have | 04:16:02 |
North | andrewperry: I looked a bunch of bot examples around GitHub, I honestly don't know what's wrong | 04:20:21 |
bobby123 | where can I find out what formatting options Matrix supports? | 17:26:32 |
bobby123 | like code tags, quote block, etc. | 17:26:41 |
13 Dec 2023 |
andrewperry | 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 | I managed to fix it by changing client._crypto to client.getCrypto() | 09:50:18 |
North | Thanks andrewperry for your help | 09:50:32 |
andrewperry | 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 |
| Florian Duros 🦡 changed their display name from Florian Duros 🦡 [ Maintainer ] to Florian Duros 🦡. | 16:50:29 |
16 Dec 2023 |
| @errhead:matrix.org left the room. | 01:59:10 |
19 Dec 2023 |
bobby123 | 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 | {
"session": "DWwoiKHuLkADFRDBIcmljerH",
"flows": [
{
"stages": [
"m.login.password"
]
}
],
"params": {}
}
| 21:55:25 |
bobby123 | * {
"session": "xxx",
"flows": [
{
"stages": [
"m.login.password"
]
}
],
"params": {}
}
| 21:55:30 |
bobby123 | {"sid":"glaclXQLjKLzsjcb","client_secret":"TGHGOyCXhSU6fem0NVErz3gxgtlzmf0U","auth":{"type":"m.login.password","session":"xxx","password":"okay"}}```
| 21:56:17 |
bobby123 | why does this still give me 400 back? | 21:56:30 |
bobby123 |
No validated 3pid session found
| 22:17:25 |
bobby123 | solution? | 22:17:28 |
bobby123 | Spoiler | 22:39:46 |
bobby123 | * <spoiler>test</spoiler> | 22:40:41 |
bobby123 | * [spoiler]test[/spoiler] | 22:40:54 |
bobby123 | * <spoiler>test</spoiler> | 22:41:10 |
bobby123 | * spoiler | 22:41:30 |
23 Dec 2023 |
skylord123 | https://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 |