Skip to content

Conversation

@im-adithya
Copy link
Contributor

Proposed changes (including videos or screenshots)

Issue(s)

Shows the name(s) of the channels added/removed to/from Teams

Screenshots

Screenshot from 2021-06-20 02-58-58

Further comments

@im-adithya im-adithya force-pushed the tag-channel-update branch from b222f79 to c503f4c Compare June 21, 2021 21:04
@im-adithya im-adithya force-pushed the tag-channel-update branch from c503f4c to b524929 Compare June 21, 2021 21:15
@im-adithya
Copy link
Contributor Author

@KevLehman Done! Please review!

import { removeUserFromRoom } from '../../../app/lib/server/functions/removeUserFromRoom';
import { getSubscribedRoomsForUserWithDetails } from '../../../app/lib/server/functions/getRoomsWithSingleOwner';
import type { InsertionModel } from '../../../app/models/server/raw/BaseRaw';
import { Messages } from '../../../app/models/server';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doing this would add make the service dependant on Meteor's base models, which is something we're trying to avoid. Can we replicate the changes on the Messages raw model instead? (Even if we need to duplicate some functions) 👀

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried doing that but there's one function (insertOrUpsert) that is hard to duplicate in BaseRaw...

@CLAassistant
Copy link

CLAassistant commented Dec 17, 2021

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants