Closed niekp closed 5 years ago
Okay so the Error: global.Olm is not defined
is a red herring and the issue was the M_EXCLUSIVE
alias stuff.
The signal-registration.yaml
put alias: []
by default and that was the error. When i added an alias to the yaml it worked.
So this is the signal-registration.yaml
:
id: xxxxx
hs_token: xxxxx
as_token: xxxxx
namespaces:
users:
- exclusive: true
regex: '@signal_.*'
aliases:
- exclusive: true
regex: '#signal_.*'
rooms: []
url: 'https://matrix.example.com'
sender_localpart: signalbot
rate_limited: true
protocols: null
I guess the issue is that the node index.js -r -u "http://your-bridge-server:8090"
doesn't add the alias by default.
I've setup the bridge and am logged into signal, but when is start typing into my signal app this error appears:
Unable to load crypto module: crypto will be disabled: Error: global.Olm is not defined
I've found this related page on the signal-sdk github: https://github.com/matrix-org/matrix-js-sdk#end-to-end-encryption-support
I also don't see any signal contacts/chats in my riot app.
This is the full message (i replaced my phonenumber with +0000):