{ + if (multiSelectMode) { + dispatch(toggleSelectedMessageId(messageId)); + } e.stopPropagation(); + e.preventDefault(); }} style={{ padding: '5px 10px' }} > diff --git a/ts/session/apis/open_group_api/utils/OpenGroupUtils.ts b/ts/session/apis/open_group_api/utils/OpenGroupUtils.ts index 159ec5118..661a36134 100644 --- a/ts/session/apis/open_group_api/utils/OpenGroupUtils.ts +++ b/ts/session/apis/open_group_api/utils/OpenGroupUtils.ts @@ -82,7 +82,7 @@ export function getOpenGroupV2ConversationId(serverUrl: string, roomId: string) if (!roomId.match(`^${roomIdV2Regex}$`)) { throw new Error('getOpenGroupV2ConversationId: Invalid roomId'); } - if (!serverUrl.match(`${openGroupV2ServerUrlRegex}`)) { + if (!serverUrl.match(openGroupV2ServerUrlRegex)) { throw new Error('getOpenGroupV2ConversationId: Invalid serverUrl'); } return `${openGroupPrefix}${roomId}@${serverUrl}`; diff --git a/yarn.lock b/yarn.lock index 68893b41e..28ba43d00 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2355,9 +2355,9 @@ bcrypt-pbkdf@^1.0.0: dependencies: tweetnacl "^0.14.3" -"better-sqlite3@https://github.com/signalapp/better-sqlite3#4f66ee7b85477016dd0b2c3d2f13dcb60abd452e": - version "7.1.4" - resolved "https://github.com/signalapp/better-sqlite3#4f66ee7b85477016dd0b2c3d2f13dcb60abd452e" +"better-sqlite3@https://github.com/signalapp/better-sqlite3#b287153a5c6a5ac77f1e70df75d245e7a6e2286d": + version "7.5.0" + resolved "https://github.com/signalapp/better-sqlite3#b287153a5c6a5ac77f1e70df75d245e7a6e2286d" dependencies: bindings "^1.5.0" tar "^6.1.0"