|
|
@@ -49,16 +49,16 @@ const setupPubnub = async uuid => {
|
|
49
|
49
|
return pubnubClient
|
|
50
|
50
|
}
|
|
51
|
51
|
|
|
52
|
|
-class ChatMessage {
|
|
53
|
|
- constructor({ title, description }) {
|
|
54
|
|
- ;(this.title = title), (this.description = description)
|
|
55
|
|
- }
|
|
56
|
|
-}
|
|
|
52
|
+// class ChatMessage {
|
|
|
53
|
+// constructor({ title, description }) {
|
|
|
54
|
+// ;(this.title = title), (this.description = description)
|
|
|
55
|
+// }
|
|
|
56
|
+// }
|
|
57
|
57
|
|
|
58
|
|
-const testMessage = new ChatMessage({
|
|
59
|
|
- title: 'testing',
|
|
60
|
|
- description: 'hello world!',
|
|
61
|
|
-})
|
|
|
58
|
+// const testMessage = new ChatMessage({
|
|
|
59
|
+// title: 'testing',
|
|
|
60
|
+// description: 'hello world!',
|
|
|
61
|
+// })
|
|
62
|
62
|
const MAIN_CHANNEL = 'Channel-Siimee'
|
|
63
|
63
|
|
|
64
|
64
|
/** Singleton that holds all our chat information */
|