-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Various type improvements to improve compatibility with existing bridges #218
Conversation
@@ -274,7 +274,7 @@ export class RoomBridgeStore extends BridgeStore { | |||
return e.remote; | |||
}) as RemoteRoom[]; | |||
} | |||
return entryMap; | |||
return result; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:D Nice catch.
(For how long has this been broken? D: )
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only for the Typescript bits, luckily.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
This PR is a mixed bag of small code changes to ensure compatibility with existing bridges. Care has been taken to lean towards updating the IRC bridge where possible, rather than porting bad behaviours back into this SDK.