Skip to content
Snippets Groups Projects
Commit 1ccb14c8 authored by Pierre Nicolas's avatar Pierre Nicolas :joy:
Browse files

fix: use `pluginId` key

`Plugin` was renamed to `Extension` all over the project to unify terminology.
However the daemon API is still returning map with `PluginId` key.

Bug introduced with: 9b50c919

Change-Id: Ic3cdfb9a490456445668e111188e6cafee7b540d
parent 5f52a526
No related branches found
No related tags found
No related merge requests found
...@@ -62,7 +62,7 @@ object ExtensionUtils { ...@@ -62,7 +62,7 @@ object ExtensionUtils {
val mediaHandlers = JamiService.getCallMediaHandlers().toList() val mediaHandlers = JamiService.getCallMediaHandlers().toList()
for (callMediaHandler in mediaHandlers) { for (callMediaHandler in mediaHandlers) {
val pDetail = JamiService.getCallMediaHandlerDetails(callMediaHandler) val pDetail = JamiService.getCallMediaHandlerDetails(callMediaHandler)
if (pDetail["extensionId"]!!.lowercase(Locale.getDefault()).contains(name.lowercase(Locale.getDefault()))) if (pDetail["pluginId"]!!.lowercase(Locale.getDefault()).contains(name.lowercase(Locale.getDefault())))
{ {
res = callMediaHandler!! res = callMediaHandler!!
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment