parent
3c60ad4f14
commit
a78659b206
43 changed files with 402 additions and 288 deletions
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<!-- ROOM JOIN RULES CHANGED -->
|
||||
<div class="statusEvent">
|
||||
{{ stateEventDisplayName(event) }} made the room {{ joinRule(event) }}
|
||||
{{ $t('message.user_changed_join_rules', { user: stateEventDisplayName(event), type: joinRule(event)}) }}
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
|
@ -15,9 +15,9 @@ export default {
|
|||
const joinRule = event.getContent().join_rule;
|
||||
switch (joinRule) {
|
||||
case "invite":
|
||||
return "invite only";
|
||||
return this.$t('message.room_joinrule_invite');
|
||||
case "public":
|
||||
return "public";
|
||||
return this.$t('message.room_joinrule_public');
|
||||
}
|
||||
return joinRule;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue