4
31
Fork
You've already forked simplematrixbotlib
21

It looks like Element updated their UI so documentation is outdated #93

Open
opened 2024年10月03日 19:28:28 +02:00 by carbon-starlight · 5 comments

I'm following the following manual to enable encription: https://simple-matrix-bot-lib.readthedocs.io/en/latest/manual/encryption.html#verification

In Element Web or Desktop, open the bot user’s info and click on "X session(s)" - NOT on "Verify".

Nor Desktop, nor web apps offer any "X sessions" menu. I cannot find any other button other than simple "Verify", and when I press it my console says

Received key verification event with an unknown transaction id from @botusername:matrix.org
Verification has been cancelled by @botusername:matrix.org for reason "The user cancelled the verification.".
I'm following the following manual to enable encription: https://simple-matrix-bot-lib.readthedocs.io/en/latest/manual/encryption.html#verification > In Element Web or Desktop, open the bot user’s info and click on "X session(s)" - NOT on "Verify". Nor Desktop, nor web apps offer any "X sessions" menu. I cannot find any other button other than simple "Verify", and when I press it my console says ``` Received key verification event with an unknown transaction id from @botusername:matrix.org Verification has been cancelled by @botusername:matrix.org for reason "The user cancelled the verification.". ```
Owner
Copy link

I'll refer to the top of the documentation:

Warning! This documentation is currently unmaintained and may be out of date. Updated documentation coming soon with simplematrixbotlib version 3

simplematrixbotlib depends on matrix-nio. Unfortunately, clients using matrix-nio (such as bots made using simplematrixbotlib) are no longer able to handle encrypted messages. See https://github.com/matrix-nio/matrix-nio/issues/430

I'll refer to the top of the documentation: > Warning! This documentation is currently unmaintained and may be out of date. Updated documentation coming soon with simplematrixbotlib version 3 simplematrixbotlib depends on matrix-nio. Unfortunately, clients using matrix-nio (such as bots made using simplematrixbotlib) are no longer able to handle encrypted messages. See https://github.com/matrix-nio/matrix-nio/issues/430
Owner
Copy link

Until matrix-nio fixes this problem, encryption won't work with simplematrixbotlib

Until matrix-nio fixes this problem, encryption won't work with simplematrixbotlib

I see!

  1. I think I found out what documentation meant. It should be worded like this: "Open any room or chat and locate the new session on the right-hand panel. Click on it".
  2. I see it's broken: buttons to verify do not respond, if opened in browser console throws errors. Is there a way to start unencrypted chats? What's the current workaround?
I see! 1. I think I found out what documentation meant. It should be worded like this: "Open any room or chat and locate the new session on the right-hand panel. Click on it". 2. I see it's broken: buttons to verify do not respond, if opened in browser console throws errors. Is there a way to start unencrypted chats? What's the current workaround?
Owner
Copy link

Do you mean a way to start unencrypted DMs between a single user and the bot? If so, initiated by Element or the bot?

Do you mean a way to start unencrypted DMs between a single user and the bot? If so, initiated by Element or the bot?

Initiated by user

Initiated by user
Sign in to join this conversation.
No Branch/Tag specified
master
v3
send_reaction
v2.13.1
v2.13.0
v2.12.2
v2.12.1
v2.12.0
v2.11.0
v2.10.3
v2.10.2
v2.10.1
v2.10.0
v2.9.1
v2.9.0
v2.7.4
v2.7.3
v2.7.2
v2.7.0
v2.6.4
v2.6.3
v2.6.2
v2.6.1
v2.6.0
v1.6.0
v2.5.1
v2.5.0
v2.4.1
v2.4.0
v2.3.0
v2.2.0
v2.1.0
v2.0.0
v1.6.1
v1.5.3
v1.5.2
v1.5.1
v1.5.0
v1.4.0
v1.3.3
v1.3.1
v1.3.0
v1.2.0
v1.3.2
v1.0.1
v1.0.0
v1.1.0
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
imbev/simplematrixbotlib#93
Reference in a new issue
imbev/simplematrixbotlib
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?