Skip to content
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

Support global account_data #150

Merged
merged 4 commits into from
Jul 20, 2016
Merged

Support global account_data #150

merged 4 commits into from
Jul 20, 2016

Conversation

ara4n
Copy link
Member

@ara4n ara4n commented Jul 20, 2016

No description provided.

/**
* Set account data event for the current user.
* @param {string} eventType The event type
* @param {Object} the contents object for the event
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For JSDoc to pick it up sanely, the thing after the type has to be the variable name, hence this should be:

* @param {Object} contents the object for the event

@kegsay
Copy link
Member

kegsay commented Jul 20, 2016

Overall, beautiful :) just needs some clarification on docs.

@ara4n
Copy link
Member Author

ara4n commented Jul 20, 2016

@kegsay: PTAL

@kegsay
Copy link
Member

kegsay commented Jul 20, 2016

LGTM

@ara4n ara4n merged commit 3baea89 into develop Jul 20, 2016
@@ -4001,6 +4015,17 @@ module.exports.CRYPTO_ENABLED = CRYPTO_ENABLED;
* @param {module:client~DeviceInfo} device information about the verified device
*/

/**
* Fires whenever new user-scoped account_data is added.
* @event module:client~MatrixClient#"Room"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this be module:client~MatrixClient#"accountData" ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bah didn't spot that! Yes it should be.

@t3chguy t3chguy deleted the matthew/generic-account-data branch May 10, 2022 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants