Closed devinbinnie closed 10 months ago
@devinbinnie I tested this bug on mattermost version 8.0.1 and was unable to reproduce it. Please share your mattermost server version.
@devinbinnie Currently the meeting link is posted directly to the channel even if a thread is open. Would you like the meeting link to be posted in the thread? @mickmister Can you share your views on this?
@Kshitij-Katiyar I noticed this cropping up on the community server, so the server version will be the latest master. Not sure which version of the Zoom plugin it's on, but I'm assuming it's also the latest.
I would expect the meeting like to be posted to the thread if possible, especially if we're in Threads view and there is not technically an active channel.
@Kshitij-Katiyar Note that the "Threads" view is different from opening a thread in the RHS in the regular chat view. You need to click "Threads" button in the top left corner of the UI, and then click the Zoom icon.
@mickmister While debugging the error above, I looked into the Mattermost Redux state. I found that the currentChannelId
is null in the threads view, which is causing the error. Additionally, there is no currentThreadId
object in Redux and no other way to get the currentThreadId
or currentChannelId
of the currently open thread.
One possible solution is to extract the currentThreadId
from the URL. I am currently working on this approach, but please let me know if you have any other suggestions.
Steps to reproduce:
Expected: Zoom meeting should post into the thread Observed: Zoom meeting isn’t posted and a JS error occurs