This website requires JavaScript.
Explore
Help
Register
Sign In
mirrors
/
vector-im-hydrogen-web
Watch
1
Star
0
Fork
0
You've already forked vector-im-hydrogen-web
mirror of
https://github.com/vector-im/hydrogen-web.git
synced
2025-01-11 04:27:40 +01:00
Code
Issues
Projects
Releases
Wiki
Activity
vector-im-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-20 21:26:39 +02:00
export
class
User
{
return syncing user id from PendingEventEntry.sender add User class where we later can track display name, avatar, ...
2019-07-29 10:23:15 +02:00
constructor
(
userId
)
{
this
.
_userId
=
userId
;
}
get
id
(
)
{
return
this
.
_userId
;
}
}
Reference in New Issue
Copy Permalink