Function: nextActiveThreadTab()
nextActiveThreadTab(
openIds,id):string|undefined
Which tab to activate after closing id: the one to its right, else its
left neighbour, else undefined when it was the only tab open (the caller
then starts a fresh conversation rather than leaving nothing selected).
Parameters
Section titled “Parameters”openIds
Section titled “openIds”string[]
string
Returns
Section titled “Returns”string | undefined