feat: add option to specify limit for custom upload host

This commit is contained in:
Adhiraj Singh
2022-01-03 12:40:55 +05:30
parent 63c510a869
commit 9c0a3b8962
4 changed files with 17 additions and 8 deletions

View File

@@ -19,8 +19,6 @@ export type SocketConfig = CommonSocketConfig<AuthenticationState> & {
userDevicesCache?: NodeCache
/** map to store the retry counts for failed messages */
msgRetryCounterMap?: { [msgId: string]: number }
/** custom domains to push media via */
customUploadHosts: string[]
/**
* fetch a message from your store
* implement this so that messages failed to send (solves the "this message can take a while" issue) can be retried