{muteButton}
diff --git a/src/i18n/strings/de_DE.json b/src/i18n/strings/de_DE.json
index 74b086e6ff..b459e2e289 100644
--- a/src/i18n/strings/de_DE.json
+++ b/src/i18n/strings/de_DE.json
@@ -790,7 +790,7 @@
"a room": "einen Raum",
"Accept": "Akzeptieren",
"Active call (%(roomName)s)": "Aktiver Anruf (%(roomName)s)",
- "Admin tools": "Admin-Werkzeuge",
+ "Admin Tools": "Admin-Werkzeuge",
"And %(count)s more...": "Und %(count)s weitere...",
"Alias (optional)": "Alias (optional)",
"Can't connect to homeserver - please check your connectivity, ensure your
homeserver's SSL certificate is trusted, and that a browser extension is not blocking requests.": "Verbindung zum Heimserver fehlgeschlagen - bitte überprüfe die Internetverbindung und stelle sicher, dass dem
SSL-Zertifikat deines Heimservers vertraut wird und dass Anfragen nicht durch eine Browser-Erweiterung blockiert werden.",
diff --git a/src/i18n/strings/el.json b/src/i18n/strings/el.json
index afe064dd8e..c0b0e76ec8 100644
--- a/src/i18n/strings/el.json
+++ b/src/i18n/strings/el.json
@@ -265,7 +265,7 @@
"Accept": "Αποδοχή",
"Active call (%(roomName)s)": "Ενεργή κλήση (%(roomName)s)",
"Add": "Προσθήκη",
- "Admin tools": "Εργαλεία διαχειριστή",
+ "Admin Tools": "Εργαλεία διαχειριστή",
"And %(count)s more...": "Και %(count)s περισσότερα...",
"No media permissions": "Χωρίς δικαιώματα πολυμέσων",
"Alias (optional)": "Ψευδώνυμο (προαιρετικό)",
diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json
index d0df48886c..464ab63683 100644
--- a/src/i18n/strings/en_EN.json
+++ b/src/i18n/strings/en_EN.json
@@ -13,7 +13,7 @@
"Add email address": "Add email address",
"Add phone number": "Add phone number",
"Admin": "Admin",
- "Admin tools": "Admin tools",
+ "Admin Tools": "Admin tools",
"Allow": "Allow",
"And %(count)s more...": "And %(count)s more...",
"VoIP": "VoIP",
@@ -863,6 +863,8 @@
"Hide avatars in user and room mentions": "Hide avatars in user and room mentions",
"%(widgetName)s widget added by %(senderName)s": "%(widgetName)s widget added by %(senderName)s",
"%(widgetName)s widget removed by %(senderName)s": "%(widgetName)s widget removed by %(senderName)s",
+ "%(widgetName)s widget modified by %(senderName)s": "%(widgetName)s widget modified by %(senderName)s",
+ "Robot check is currently unavailable on desktop - please use a
web browser": "Robot check is currently unavailable on desktop - please use a
web browser",
"Description": "Description",
"Filter group members": "Filter group members",
"Remove from group": "Remove from group",
diff --git a/src/i18n/strings/en_US.json b/src/i18n/strings/en_US.json
index ce76d2f2c8..4377251beb 100644
--- a/src/i18n/strings/en_US.json
+++ b/src/i18n/strings/en_US.json
@@ -724,7 +724,7 @@
"Accept": "Accept",
"a room": "a room",
"Add": "Add",
- "Admin tools": "Admin tools",
+ "Admin Tools": "Admin tools",
"And %(count)s more...": "And %(count)s more...",
"Alias (optional)": "Alias (optional)",
"Can't connect to homeserver - please check your connectivity, ensure your
homeserver's SSL certificate is trusted, and that a browser extension is not blocking requests.": "Can't connect to homeserver - please check your connectivity, ensure your
homeserver's SSL certificate is trusted, and that a browser extension is not blocking requests.",
diff --git a/src/i18n/strings/es.json b/src/i18n/strings/es.json
index ad86301529..179bd047b7 100644
--- a/src/i18n/strings/es.json
+++ b/src/i18n/strings/es.json
@@ -204,7 +204,7 @@
"Low priority": "Baja prioridad",
"Accept": "Aceptar",
"Add": "Añadir",
- "Admin tools": "Herramientas de administración",
+ "Admin Tools": "Herramientas de administración",
"VoIP": "Voz IP",
"No Microphones detected": "No se ha detectado micrófono",
"No Webcams detected": "No se ha detectado cámara",
diff --git a/src/i18n/strings/eu.json b/src/i18n/strings/eu.json
index 6a278748b7..98f7547b6a 100644
--- a/src/i18n/strings/eu.json
+++ b/src/i18n/strings/eu.json
@@ -167,7 +167,7 @@
"Add": "Gehitu",
"Add a topic": "Gehitu gai bat",
"Admin": "Kudeatzailea",
- "Admin tools": "Kudeaketa tresnak",
+ "Admin Tools": "Kudeaketa tresnak",
"And %(count)s more...": "Eta %(count)s gehiago...",
"VoIP": "VoIP",
"Missing Media Permissions, click here to request.": "Media baimenak falta dira, egin klik eskatzeko.",
diff --git a/src/i18n/strings/hu.json b/src/i18n/strings/hu.json
index 7e9118c0e4..00c42a6ef5 100644
--- a/src/i18n/strings/hu.json
+++ b/src/i18n/strings/hu.json
@@ -39,7 +39,7 @@
"Add email address": "E-mail cím megadása",
"Add phone number": "Telefonszám megadása",
"Admin": "Adminisztrátor",
- "Admin tools": "Admin. eszközök",
+ "Admin Tools": "Admin. eszközök",
"And %(count)s more...": "És még %(count)s...",
"VoIP": "VoIP",
"Missing Media Permissions, click here to request.": "Hiányzó Média jogosultság, kattintson ide az igényléshez.",
diff --git a/src/i18n/strings/id.json b/src/i18n/strings/id.json
index ff68107594..c8b82c22f7 100644
--- a/src/i18n/strings/id.json
+++ b/src/i18n/strings/id.json
@@ -172,7 +172,7 @@
"Access Token:": "Token Akses:",
"Active call (%(roomName)s)": "Panggilan aktif (%(roomName)s)",
"Admin": "Admin",
- "Admin tools": "Alat admin",
+ "Admin Tools": "Alat admin",
"And %(count)s more...": "Dan %(count)s lagi...",
"VoIP": "VoIP",
"Missing Media Permissions, click here to request.": "Tidak ada Izin Media, klik disini untuk meminta.",
diff --git a/src/i18n/strings/it.json b/src/i18n/strings/it.json
index 1b02709cdf..454cef9771 100644
--- a/src/i18n/strings/it.json
+++ b/src/i18n/strings/it.json
@@ -42,7 +42,7 @@
"Add email address": "Aggiungi indirizzo email",
"Add phone number": "Aggiungi numero di telefono",
"Admin": "Amministratore",
- "Admin tools": "Strumenti di amministrazione",
+ "Admin Tools": "Strumenti di amministrazione",
"VoIP": "VoIP",
"No Microphones detected": "Nessun Microfono rilevato",
"No Webcams detected": "Nessuna Webcam rilevata",
diff --git a/src/i18n/strings/ko.json b/src/i18n/strings/ko.json
index f68dc9e837..dc748676c5 100644
--- a/src/i18n/strings/ko.json
+++ b/src/i18n/strings/ko.json
@@ -33,7 +33,7 @@
"Add email address": "이메일 주소 추가하기",
"Add phone number": "전화번호 추가하기",
"Admin": "관리자",
- "Admin tools": "관리 도구",
+ "Admin Tools": "관리 도구",
"VoIP": "인터넷전화",
"No Microphones detected": "마이크를 찾지 못했어요",
"No Webcams detected": "카메라를 찾지 못했어요",
diff --git a/src/i18n/strings/lv.json b/src/i18n/strings/lv.json
index 52f5dc6f96..ea70ed1eb7 100644
--- a/src/i18n/strings/lv.json
+++ b/src/i18n/strings/lv.json
@@ -12,7 +12,7 @@
"Add email address": "Pievieno Epasta adresi",
"Add phone number": "Pievieno tālruņa numuru",
"Admin": "Administrators",
- "Admin tools": "Administratora rīki",
+ "Admin Tools": "Administratora rīki",
"And %(count)s more...": "Un vēl %(count)s citi...",
"VoIP": "VoIP",
"Missing Media Permissions, click here to request.": "Nav pieejas medija saturam. Klikšķini šeit, lai pieprasītu.",
diff --git a/src/i18n/strings/nl.json b/src/i18n/strings/nl.json
index 338bf6e9a2..5fb69338bd 100644
--- a/src/i18n/strings/nl.json
+++ b/src/i18n/strings/nl.json
@@ -79,7 +79,7 @@
"Active call (%(roomName)s)": "Actief gesprek (%(roomName)s)",
"Add": "Toevoegen",
"Add a topic": "Een onderwerp toevoegen",
- "Admin tools": "Beheerhulpmiddelen",
+ "Admin Tools": "Beheerhulpmiddelen",
"And %(count)s more...": "Nog %(count)s andere...",
"VoIP": "VoiP",
"Missing Media Permissions, click here to request.": "Ontbrekende mediatoestemmingen, klik hier om aan te vragen.",
diff --git a/src/i18n/strings/pl.json b/src/i18n/strings/pl.json
index 7e1a30d754..8389afa160 100644
--- a/src/i18n/strings/pl.json
+++ b/src/i18n/strings/pl.json
@@ -123,7 +123,7 @@
"Active call (%(roomName)s)": "Aktywne połączenie (%(roomName)s)",
"Add email address": "Dodaj adres e-mail",
"Admin": "Administrator",
- "Admin tools": "Narzędzia administracyjne",
+ "Admin Tools": "Narzędzia administracyjne",
"And %(count)s more...": "Oraz %(count)s więcej...",
"VoIP": "VoIP (połączenie głosowe)",
"No Microphones detected": "Nie wykryto żadnego mikrofonu",
diff --git a/src/i18n/strings/pt.json b/src/i18n/strings/pt.json
index 75df37b91f..be183106ab 100644
--- a/src/i18n/strings/pt.json
+++ b/src/i18n/strings/pt.json
@@ -772,7 +772,7 @@
"Public Chat": "Conversa pública",
"Uploading %(filename)s and %(count)s others|zero": "Enviando o arquivo %(filename)s",
"Room contains unknown devices": "Esta sala contém dispositivos desconhecidos",
- "Admin tools": "Ferramentas de administração",
+ "Admin Tools": "Ferramentas de administração",
"You have been kicked from %(roomName)s by %(userName)s.": "Você foi removido(a) da sala %(roomName)s por %(userName)s.",
"Undecryptable": "Não é possível descriptografar",
"Incoming video call from %(name)s": "Chamada de vídeo de %(name)s recebida",
diff --git a/src/i18n/strings/pt_BR.json b/src/i18n/strings/pt_BR.json
index 4461aff5b7..3b45f73858 100644
--- a/src/i18n/strings/pt_BR.json
+++ b/src/i18n/strings/pt_BR.json
@@ -783,7 +783,7 @@
"a room": "uma sala",
"Accept": "Aceitar",
"Active call (%(roomName)s)": "Chamada ativa (%(roomName)s)",
- "Admin tools": "Ferramentas de administração",
+ "Admin Tools": "Ferramentas de administração",
"And %(count)s more...": "E mais %(count)s...",
"Alias (optional)": "Apelido (opcional)",
"Can't connect to homeserver - please check your connectivity, ensure your
homeserver's SSL certificate is trusted, and that a browser extension is not blocking requests.": "Não foi possível conectar ao Servidor de Base. Por favor, confira sua conectividade à internet, garanta que o
certificado SSL do Servidor de Base é confiável, e que uma extensão do navegador não esteja bloqueando as requisições de rede.",
diff --git a/src/i18n/strings/ru.json b/src/i18n/strings/ru.json
index a92fa6b178..5d964f8b17 100644
--- a/src/i18n/strings/ru.json
+++ b/src/i18n/strings/ru.json
@@ -767,7 +767,7 @@
"a room": "комната",
"Accept": "Принять",
"Active call (%(roomName)s)": "Активный вызов (%(roomName)s)",
- "Admin tools": "Инструменты администратора",
+ "Admin Tools": "Инструменты администратора",
"And %(count)s more...": "И %(count)s больше...",
"Alias (optional)": "Псевдоним (опционально)",
"
Click here to join the discussion!": "
Нажмите здесь, чтобы присоединиться к обсуждению!",
diff --git a/src/i18n/strings/sv.json b/src/i18n/strings/sv.json
index 9a5ae6dfc6..68a3b240fc 100644
--- a/src/i18n/strings/sv.json
+++ b/src/i18n/strings/sv.json
@@ -171,7 +171,7 @@
"Access Token:": "Åtkomsttoken:",
"Active call (%(roomName)s)": "Aktiv samtal (%(roomName)s)",
"Add": "Lägg till",
- "Admin tools": "Admin verktyg",
+ "Admin Tools": "Admin verktyg",
"And %(count)s more...": "Och %(count)s till...",
"Alias (optional)": "Alias (valfri)",
"Can't connect to homeserver - please check your connectivity, ensure your
homeserver's SSL certificate is trusted, and that a browser extension is not blocking requests.": "Det gick inte att ansluta till servern - kontrollera anslutningen, försäkra att din
hemservers TLS-certifikat är betrott, och att inget webbläsartillägg blockerar förfrågningar.",
diff --git a/src/i18n/strings/te.json b/src/i18n/strings/te.json
index f8987f606c..db9a6e29c2 100644
--- a/src/i18n/strings/te.json
+++ b/src/i18n/strings/te.json
@@ -11,7 +11,7 @@
"Add email address": "ఇమెయిల్ చిరునామాను జోడించండి",
"Add phone number": "ఫోన్ నంబర్ను జోడించండి",
"Admin": "అడ్మిన్",
- "Admin tools": "నిర్వాహక ఉపకరణాలు",
+ "Admin Tools": "నిర్వాహక ఉపకరణాలు",
"VoIP": "విఒఐపి",
"Missing Media Permissions, click here to request.": "మీడియా అనుమతులు మిస్ అయయి, అభ్యర్థించడానికి ఇక్కడ క్లిక్ చేయండి.",
"No Microphones detected": "మైక్రోఫోన్లు కనుగొనబడలేదు",
diff --git a/src/i18n/strings/tr.json b/src/i18n/strings/tr.json
index 76169998f6..4b3bdbd6a2 100644
--- a/src/i18n/strings/tr.json
+++ b/src/i18n/strings/tr.json
@@ -12,7 +12,7 @@
"Add email address": "E-posta adresi ekle",
"Add phone number": "Telefon numarası ekle",
"Admin": "Admin",
- "Admin tools": "Admin araçları",
+ "Admin Tools": "Admin araçları",
"And %(count)s more...": "Ve %(count)s fazlası...",
"VoIP": "VoIP",
"Missing Media Permissions, click here to request.": "Medya İzinleri Yok , talep etmek için burayı tıklayın.",
diff --git a/src/i18n/strings/uk.json b/src/i18n/strings/uk.json
index e9c1bc7005..5ddb41830d 100644
--- a/src/i18n/strings/uk.json
+++ b/src/i18n/strings/uk.json
@@ -45,7 +45,7 @@
"Add email address": "Додати адресу е-пошти",
"Add phone number": "Додати номер телефону",
"Admin": "Адміністратор",
- "Admin tools": "Засоби адміністрування",
+ "Admin Tools": "Засоби адміністрування",
"And %(count)s more...": "І %(count)s більше...",
"VoIP": "VoIP",
"Missing Media Permissions, click here to request.": "Відсутні дозволи, натисніть для запиту.",
diff --git a/src/i18n/strings/zh_Hans.json b/src/i18n/strings/zh_Hans.json
index f1153cf3d7..1d3c685ed5 100644
--- a/src/i18n/strings/zh_Hans.json
+++ b/src/i18n/strings/zh_Hans.json
@@ -190,7 +190,7 @@
"New password": "新密码",
"Add a topic": "添加一个主题",
"Admin": "管理员",
- "Admin tools": "管理工具",
+ "Admin Tools": "管理工具",
"VoIP": "IP 电话",
"Missing Media Permissions, click here to request.": "没有媒体存储权限,点此获取。",
"No Microphones detected": "未检测到麦克风",
diff --git a/src/i18n/strings/zh_Hant.json b/src/i18n/strings/zh_Hant.json
index 979997ea3d..6e3b089e8f 100644
--- a/src/i18n/strings/zh_Hant.json
+++ b/src/i18n/strings/zh_Hant.json
@@ -302,7 +302,7 @@
"%(targetName)s accepted the invitation for %(displayName)s.": "%(targetName)s 已接受 %(displayName)s 的邀請。",
"Active call (%(roomName)s)": "活躍的通話(%(roomName)s)",
"Add": "新增",
- "Admin tools": "管理員工具",
+ "Admin Tools": "管理員工具",
"And %(count)s more...": "還有 %(count)s 個...",
"Missing Media Permissions, click here to request.": "遺失媒體權限,點選這裡來要求。",
"No Microphones detected": "未偵測到麥克風",
diff --git a/src/stores/RoomViewStore.js b/src/stores/RoomViewStore.js
index 024b1fddb7..795345242e 100644
--- a/src/stores/RoomViewStore.js
+++ b/src/stores/RoomViewStore.js
@@ -21,7 +21,7 @@ import Modal from '../Modal';
import { _t } from '../languageHandler';
const INITIAL_STATE = {
- // Whether we're joining the currently viewed room
+ // Whether we're joining the currently viewed room (see isJoining())
joining: false,
// Any error that has occurred during joining
joinError: null,
@@ -90,9 +90,6 @@ class RoomViewStore extends Store {
case 'join_room':
this._joinRoom(payload);
break;
- case 'joined_room':
- this._joinedRoom(payload);
- break;
case 'join_room_error':
this._joinRoomError(payload);
break;
@@ -185,9 +182,11 @@ class RoomViewStore extends Store {
MatrixClientPeg.get().joinRoom(
this._state.roomAlias || this._state.roomId, payload.opts,
).done(() => {
- dis.dispatch({
- action: 'joined_room',
- });
+ // We don't actually need to do anything here: we do *not*
+ // clear the 'joining' flag because the Room object and/or
+ // our 'joined' member event may not have come down the sync
+ // stream yet, and that's the point at which we'd consider
+ // the user joined to the room.
}, (err) => {
dis.dispatch({
action: 'join_room_error',
@@ -202,12 +201,6 @@ class RoomViewStore extends Store {
});
}
- _joinedRoom(payload) {
- this._setState({
- joining: false,
- });
- }
-
_joinRoomError(payload) {
this._setState({
joining: false,
@@ -249,7 +242,29 @@ class RoomViewStore extends Store {
return this._state.roomLoadError;
}
- // Whether we're joining the currently viewed room
+ // True if we're expecting the user to be joined to the room currently being
+ // viewed. Note that this is left true after the join request has finished,
+ // since we should still consider a join to be in progress until the room
+ // & member events come down the sync.
+ //
+ // This flag remains true after the room has been sucessfully joined,
+ // (this store doesn't listen for the appropriate member events)
+ // so you should always observe the joined state from the member event
+ // if a room object is present.
+ // ie. The correct logic is:
+ // if (room) {
+ // if (myMember.membership == 'joined') {
+ // // user is joined to the room
+ // } else {
+ // // Not joined
+ // }
+ // } else {
+ // if (RoomViewStore.isJoining()) {
+ // // show spinner
+ // } else {
+ // // show join prompt
+ // }
+ // }
isJoining() {
return this._state.joining;
}