Contact model changes (#184)

* move source id from contacts

* Fix contactInbox model name

* rubocop fix

* Fix rspec
This commit is contained in:
Sojan Jose
2019-10-27 13:14:36 +05:30
committed by GitHub
parent 3b6d58bbdf
commit c21c839dca
12 changed files with 57 additions and 20 deletions

View File

@@ -86,7 +86,7 @@ export default {
data() {
return {
message: '',
private: false,
isPrivate: false,
showEmojiPicker: false,
showCannedModal: false,
};
@@ -100,7 +100,7 @@ export default {
},
watch: {
message(val) {
if (this.private) {
if (this.isPrivate) {
return;
}
const isSlashCommand = val[0] === '/';