mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-02 16:15:59 +08:00
feat: Implement webhook in createConversation (#3228)
* update test method args.
* feat: implement createConversations webhook function.
* improve webhookCreateConversations Implement
* implement createconversation webhook.
* remove unused paramaters.
(cherry picked from commit b969827b9a)
This commit is contained in:
@@ -41,6 +41,7 @@ func NewConversationRpcCmd() *ConversationRpcCmd {
|
||||
config.MongodbConfigFileName: &conversationConfig.MongodbConfig,
|
||||
config.ShareFileName: &conversationConfig.Share,
|
||||
config.NotificationFileName: &conversationConfig.NotificationConfig,
|
||||
config.WebhooksConfigFileName: &conversationConfig.WebhooksConfig,
|
||||
config.LocalCacheConfigFileName: &conversationConfig.LocalCacheConfig,
|
||||
config.DiscoveryConfigFilename: &conversationConfig.Discovery,
|
||||
}
|
||||
@@ -67,6 +68,7 @@ func (a *ConversationRpcCmd) runE() error {
|
||||
a.conversationConfig.NotificationConfig.GetConfigFileName(),
|
||||
a.conversationConfig.Share.GetConfigFileName(),
|
||||
a.conversationConfig.LocalCacheConfig.GetConfigFileName(),
|
||||
a.conversationConfig.WebhooksConfig.GetConfigFileName(),
|
||||
a.conversationConfig.Discovery.GetConfigFileName(),
|
||||
}, nil,
|
||||
conversation.Start)
|
||||
|
||||
Reference in New Issue
Block a user