Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
commit
0fdde954d4
1 changed files with 3 additions and 0 deletions
|
@ -33,6 +33,9 @@ export default class GroupStore extends EventEmitter {
|
|||
|
||||
constructor(matrixClient, groupId) {
|
||||
super();
|
||||
if (!groupId) {
|
||||
throw new Error('GroupStore needs a valid groupId to be created');
|
||||
}
|
||||
this.groupId = groupId;
|
||||
this._matrixClient = matrixClient;
|
||||
this._summary = {};
|
||||
|
|
Loading…
Reference in a new issue