This website requires JavaScript.
Explore
Help
Sign In
Arsharth
/
hydrogen-web
Watch
1
Star
0
Fork
You've already forked hydrogen-web
0
forked from
mystiq/hydrogen-web
Code
Issues
Pull requests
Packages
Projects
Releases
Wiki
Activity
24bf074aa3
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