forked from mystiq/hydrogen-web
21 lines
287 B
JavaScript
21 lines
287 B
JavaScript
|
/**
|
||
|
store contains:
|
||
|
roomId
|
||
|
name
|
||
|
lastMessage
|
||
|
unreadCount
|
||
|
mentionCount
|
||
|
isEncrypted
|
||
|
isDirectMessage
|
||
|
membership
|
||
|
*/
|
||
|
export default class RoomSummaryStore {
|
||
|
constructor(summaryStore) {
|
||
|
this._summaryStore = summaryStore;
|
||
|
}
|
||
|
|
||
|
getAll() {
|
||
|
return this._summaryStore.selectAll();
|
||
|
}
|
||
|
}
|