This website requires JavaScript.
Explore
Help
Sign in
mystiq
/
hydrogen-web
Archived
Watch
4
Star
1
Fork
You've already forked hydrogen-web
1
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
This repository has been archived on
2022-08-19
. You can view files and clone it, but cannot push or open issues or pull requests.
f9c0b4b53e
hydrogen-web
/
src
/
matrix
/
User.js
10 lines
136 B
JavaScript
Raw
Normal View
History
Unescape
Escape
stop using default exports because it becomes hard to remember where you used them and where not
2020-04-21 00:56:39 +05:30
export
class
User
{
return syncing user id from PendingEventEntry.sender add User class where we later can track display name, avatar, ...
2019-07-29 13:53:15 +05:30
constructor
(
userId
)
{
this
.
_userId
=
userId
;
}
get
id
(
)
{
return
this
.
_userId
;
}
}
Reference in a new issue
Copy permalink