move to create instead of fromObject
This commit is contained in:
+1
-1
@@ -247,7 +247,7 @@ const startSock = async() => {
|
||||
// up to you
|
||||
|
||||
// only if store is present
|
||||
return proto.Message.fromObject({ conversation: 'test' })
|
||||
return proto.Message.create({ conversation: 'test' })
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user