You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MatrixPhp\Exceptions\MatrixRequestException: {"errcode":"M_FORBIDDEN","error":"User @myUsername:matrix.org not in room 0"} in MatrixPhp\MatrixHttpApi->send() (Line 971 in ../vendor/meet-kinksters/php-matrix-sdk/src/MatrixHttpApi.php).
Detailed description
When trying to send a message, using the MatrixHttpApi directly like this...
... i get this Exception:
Context
I think i already found the reason for this:
This bug was introduced in this commit: a2f2ede#diff-38b93873fb3c16b88d76ea19944d82e9690d16322838a0f3fbd18051a3aae87dR353
In the sprintf function, the specifier for the room id was changed from %s (string) to %u (unsigned decimal number).
This is not fitting for the room id which is in format
!aBcDeFgHiJkLmNoP:matrix.org
.Possible implementation
Change back from %u to %s
The text was updated successfully, but these errors were encountered: