|
|
@@ -18,8 +18,6 @@ main.view--chat
|
|
18
|
18
|
.w-flex.row
|
|
19
|
19
|
button(@click='reveal(7)') reveal my name
|
|
20
|
20
|
button(@click='reveal(8)') reveal my email
|
|
21
|
|
- // TODO: Remove later, only for testing
|
|
22
|
|
- button(@click='checkData()') check data
|
|
23
|
21
|
span(v-if='grouping.revealed[profile.id.value]')
|
|
24
|
22
|
p you revealed:
|
|
25
|
23
|
ul(
|
|
|
@@ -101,7 +99,6 @@ export default {
|
|
101
|
99
|
this.grouping = this.getGrouping()
|
|
102
|
100
|
this.them = this.grouping.profile
|
|
103
|
101
|
this.messages = await currentProfile.chatter.getHistory(this.grouping.grouping_name)
|
|
104
|
|
- console.log('this.messages :>> ', this.messages)
|
|
105
|
102
|
currentProfile.chatter.setOnMessage(this._onMessage)
|
|
106
|
103
|
currentProfile._loading.value = false
|
|
107
|
104
|
},
|
|
|
@@ -110,13 +107,6 @@ export default {
|
|
110
|
107
|
const grouping = this.getGrouping()
|
|
111
|
108
|
await grouping.reveal(currentProfile.id.value, tagId)
|
|
112
|
109
|
},
|
|
113
|
|
- // TODO: remove, only for testing reveal()
|
|
114
|
|
- async checkData() {
|
|
115
|
|
- console.log('currentProfile :=>', currentProfile)
|
|
116
|
|
- // TODO: remove once Vue Router guards allow to redirect via url
|
|
117
|
|
- console.log('currentProfile.isComplete :=>', currentProfile.isComplete) // false
|
|
118
|
|
- console.log('currentProfile.isLoggedIn :=>', currentProfile.isLoggedIn) // true
|
|
119
|
|
- },
|
|
120
|
110
|
/**
|
|
121
|
111
|
* Pubnub message callback fires when message event
|
|
122
|
112
|
* is detected. We define is HERE because we need the
|