generated from array-in-a-matrix/matrix-bot-template
SimpleFsStorageProvider works
This commit is contained in:
parent
1be944b77a
commit
b4b45d677a
2 changed files with 6 additions and 3 deletions
|
@ -9,4 +9,7 @@ export newMatrixClient, start, onRoomMessage
|
|||
export sendReadReceipt, setTyping, replyText, replyHtmlText, replyNotice, replyHtmlNotice, sendNotice, sendHtmlNotice, sendText, sendHtmlText, sendMessage, sendEvent, sendRawEvent, sendStateEvent, redactEvent
|
||||
|
||||
import nimbotsdk/AutojoinRoomsMixin
|
||||
export AutojoinRoomsMixinSetupOnClient, AutojoinRoomsMixinSetupOnAppservice
|
||||
export AutojoinRoomsMixinSetupOnClient, AutojoinRoomsMixinSetupOnAppservice
|
||||
|
||||
import nimbotsdk/SimpleFsStorageProvider
|
||||
export newSimpleFsStorageProvider
|
|
@ -3,5 +3,5 @@
|
|||
import matrixTypes
|
||||
|
||||
proc newSimpleFsStorageProvider*(filename: cstring): Storage {.importjs: "new SimpleFsStorageProvider(#)".}
|
||||
proc newSimpleFsStorageProvider*(filename: cstring, trackTransactionsInMemory: bool): storage {.importjs: "new SimpleFsStorageProvider(#, #)".}
|
||||
proc newSimpleFsStorageProvider*(filename: cstring, trackTransactionsInMemory: bool, maxInMemoryTransactions: int): storage {.importjs: "new SimpleFsStorageProvider(#, #, #)".}
|
||||
proc newSimpleFsStorageProvider*(filename: cstring, trackTransactionsInMemory: bool): Storage {.importjs: "new SimpleFsStorageProvider(#, #)".}
|
||||
proc newSimpleFsStorageProvider*(filename: cstring, trackTransactionsInMemory: bool, maxInMemoryTransactions: int): Storage {.importjs: "new SimpleFsStorageProvider(#, #, #)".}
|
||||
|
|
Loading…
Add table
Reference in a new issue