mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-28 04:21:00 +00:00
Conform to new react and typescript eslint rules
This commit is contained in:
@@ -96,7 +96,7 @@ class RoomViewStore extends Store<ActionPayload> {
|
||||
this.__emitChange();
|
||||
}
|
||||
|
||||
__onDispatch(payload) {
|
||||
__onDispatch(payload) { // eslint-disable-line @typescript-eslint/naming-convention
|
||||
switch (payload.action) {
|
||||
// view_room:
|
||||
// - room_alias: '#somealias:matrix.org'
|
||||
@@ -325,8 +325,8 @@ class RoomViewStore extends Store<ActionPayload> {
|
||||
msg = _t("There was an error joining the room");
|
||||
} else if (err.errcode === 'M_INCOMPATIBLE_ROOM_VERSION') {
|
||||
msg = <div>
|
||||
{_t("Sorry, your homeserver is too old to participate in this room.")}<br />
|
||||
{_t("Please contact your homeserver administrator.")}
|
||||
{ _t("Sorry, your homeserver is too old to participate in this room.") }<br />
|
||||
{ _t("Please contact your homeserver administrator.") }
|
||||
</div>;
|
||||
} else if (err.httpStatus === 404) {
|
||||
const invitingUserId = this.getInvitingUserId(this.state.roomId);
|
||||
|
||||
Reference in New Issue
Block a user