Add event type string

Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
RMidhunSuresh 2021-08-04 13:34:35 +05:30
parent 1862e31396
commit b75760c437

View file

@ -14,6 +14,8 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
*/ */
export const EVENT_TYPE = "m.room.power_levels";
export class PowerLevels { export class PowerLevels {
constructor({powerLevelEvent, createEvent, ownUserId, membership}) { constructor({powerLevelEvent, createEvent, ownUserId, membership}) {
this._plEvent = powerLevelEvent; this._plEvent = powerLevelEvent;