Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "[GH-304] Update logic to post meeting link in thread when a thread is open in RHS" #329

Merged
merged 3 commits into from
Dec 28, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions webapp/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Plugin {
registry.registerChannelHeaderButtonAction(
<ChannelHeaderIcon/>,
(channel) => {
startMeeting(channel.id, store.getState()?.views.rhs.selectedPostId)(store.dispatch, store.getState);
startMeeting(channel.id)(store.dispatch, store.getState);
},
'Start Zoom Meeting',
'Start Zoom Meeting',
Expand All @@ -28,10 +28,10 @@ class Plugin {
registry.registerAppBarComponent(
iconURL,
async (channel) => {
const state = store.getState();
if (channel) {
startMeeting(channel.id, state?.views.rhs.selectedPostId)(store.dispatch, store.getState);
startMeeting(channel.id, '')(store.dispatch, store.getState);
} else {
const state = store.getState();
const teamId = state?.entities.teams.currentTeamId;
const threadId = state?.views.threads.selectedThreadIdInTeam[teamId];
const baseURL = state?.entities.general.config.SiteURL;
Expand Down
Loading