Methods
avatarURL(user) → {string}
Get the user's avatar URL (if known) from the identity referred to by an authentication state.
Parameters:
Name | Type | Description |
---|---|---|
user |
The |
- Version:
- 2.8+
Returns:
the user's avatar URL if known or undefined
otherwise
- Type
- string
pushIdToDateTime(id) → {number}
Retrieves the date time associated with a node identifier generated by the Webcom#push
method.
If the given identifier is not generated by the Webcom#push
method, the result is indeterminate,
generally a negative number.
Parameters:
Name | Type | Description |
---|---|---|
id |
string | The identifier, which to retrive the date from. |
- Version:
- 2.8+
Returns:
The date time associated with the given identifier, expressed in seconds since Unix Epoch.
- Type
- number