| author | Stephen Paul Weber
<singpolyma@singpolyma.net> 2026-06-29 15:04:36 UTC |
| committer | Stephen Paul Weber
<singpolyma@singpolyma.net> 2026-06-29 15:04:36 UTC |
| parent | 1067389c18b5b4a5345937c1bd33f7150a09de6e |
| borogove/persistence/IDB.js | +1 | -0 |
diff --git a/borogove/persistence/IDB.js b/borogove/persistence/IDB.js index d56f464..244a3fb 100644 --- a/borogove/persistence/IDB.js +++ b/borogove/persistence/IDB.js @@ -1003,6 +1003,7 @@ tx.onerror = console.error; getMessagesAround: async function(account, around) { if (!around) throw "Cannot look around nothing"; + if (!around.sortId) throw "Cannot look around no sortId"; if (around.type == enums.borogove_MessageType.MessageChannelPrivate) throw "Cannot look around PM"; const chatId = around.chatId();