remove old code

This commit is contained in:
Phillip Thelen 2019-09-19 16:32:17 +02:00
parent a629ec510f
commit ed266adfc2
3 changed files with 0 additions and 27 deletions

View file

@ -30,7 +30,6 @@
chat(
:label="$t('chat')",
:group="group",
:autocompleteContext="autocompleteContext"
:placeholder="!isParty ? $t('chatPlaceholder') : $t('partyChatPlaceholder')",
@fetchRecentMessages="fetchRecentMessages()"
)
@ -372,15 +371,6 @@ export default {
showNoNotificationsMessage () {
return this.group.memberCount > this.$store.state.constants.LARGE_GROUP_COUNT_MESSAGE_CUTOFF;
},
autocompleteContext () {
if (this.isParty) {
return 'party';
} else if (this.group.privacy === 'public') {
return 'publicGuild';
} else {
return 'privateGuild';
}
},
},
mounted () {
if (this.isParty) this.searchId = 'party';

View file

@ -10,7 +10,6 @@
chat(
:label="$t('tavernChat')",
:group="group",
:autocompleteContext="'tavern'"
:placeholder="$t('tavernCommunityGuidelinesPlaceholder')",
@fetchRecentMessages="fetchRecentMessages()"
)

View file

@ -85,18 +85,6 @@
hr
div
h5 {{ $t('mentioning') }}
h6 {{ $t('suggestMyUsername') }}
.form-horizontal
select.form-control(
v-model='user.preferences.searchableUsername',
@change='set("searchableUsername")'
)
option(v-for='option in searchableUsernameOptions' :value='option.value') {{ option.text }}
hr
div
h5 {{ $t('customDayStart') }}
.alert.alert-warning {{ $t('customDayStartInfo1') }}
@ -271,10 +259,6 @@ export default {
},
displayNameIssues: [],
usernameIssues: [],
searchableUsernameOptions: [
{text: this.$t('onlyPrivateSpaces'), value: false},
{text: this.$t('everywhere'), value: true},
],
};
},
mounted () {