Skip to content
Snippets Groups Projects
Commit 5ec55291 authored by Lanius-collaris's avatar Lanius-collaris :palm_tree: Committed by Adrien Béraud
Browse files

extension: fix getChatHandlersDetails

`Plugin` was renamed to `Extension` all over the project,
but AutoAnswer is returning map with `pluginId` key.
See https://review.jami.net/plugins/gitiles/jami-plugins/+/9fbe811105f4c4b2329e1521193f4f9829136273/AutoAnswer/BotChatHandler.cpp#60

Gitlab: #1847

Change-Id: Ibc835ae4cebb6c50bb0c70ac31c227a87735c440
parent b1fb04c2
No related branches found
No related tags found
No related merge requests found
......@@ -86,7 +86,7 @@ object ExtensionUtils {
val handlersList: MutableList<ExtensionDetails> = ArrayList(chatHandlersId.size)
for (handlerId in chatHandlersId) {
val handlerDetails = JamiService.getChatHandlerDetails(handlerId)
val extensionPath = handlerDetails["extensionId"] ?: continue
val extensionPath = handlerDetails["pluginId"] ?: continue
val name = handlerDetails["name"] ?: continue
val extensionRoot = extensionPath.substring(0, extensionPath.lastIndexOf("/data"))
val enabled = chatHandlerStatus.contains(handlerId)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment