move to create instead of fromObject

This commit is contained in:
Rajeh Taher
2025-09-07 14:29:45 +03:00
parent 410c26fb82
commit 538d3e4da7
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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
})
)