move to create instead of fromObject
This commit is contained in:
+1
-1
@@ -1157,7 +1157,7 @@ export const makeChatsSocket = (config: SocketConfig) => {
|
||||
ev.buffer()
|
||||
|
||||
const willSyncHistory = shouldSyncHistoryMessage(
|
||||
proto.Message.HistorySyncNotification.fromObject({
|
||||
proto.Message.HistorySyncNotification.create({
|
||||
syncType: proto.HistorySync.HistorySyncType.RECENT
|
||||
})
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user