Skip to content

Conversation

@nickvergessen
Copy link
Member

No description provided.

@nickvergessen nickvergessen added 3. to review bug feature: api 🛠️ OCS API for conversations, chats and participants labels May 18, 2021
@nickvergessen nickvergessen added this to the 💖 Next Major (22) milestone May 18, 2021

$leftRooms = $this->manager->getLeftOneToOneRoomsForUser($user->getUID());
foreach ($leftRooms as $room) {
$room->setType(Room::GROUP_CALL, true);
Copy link
Member

Choose a reason for hiding this comment

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

this means other users could be invited to that conversation and then they could read past messages, feels like an unwanted side effect.
if we had a way to mark it as archived, like read-only mode but would need an external system user moderator then to prevent anyone to remove there read-only flag

Copy link
Member Author

Choose a reason for hiding this comment

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

No one cares? Don't want to make it overly complicated so that is good enough. Before you could do screenshares and share them already ¯\_(ツ)_/¯

I'm fine with marking it archived by default as well. We could also "demote" the other user to be a normal user and they can then leave the conversation only. But simplicity is the key here I think.

Copy link
Member

Choose a reason for hiding this comment

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

I've tested it and seems fine then.

A good thing is that now that it's a group conversation, the remaining user is able to delete it also.

@nickvergessen nickvergessen force-pushed the bugfix/noid/reusable-user-ids-one-to-one-chats branch from 74c4c4a to e7ef6cc Compare May 18, 2021 12:55
Copy link
Member

@PVince81 PVince81 left a comment

Choose a reason for hiding this comment

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

👍

@nickvergessen
Copy link
Member Author

Failing sharing tests are fixed in #5634

@nickvergessen nickvergessen force-pushed the bugfix/noid/reusable-user-ids-one-to-one-chats branch from e7ef6cc to 3e88db0 Compare May 18, 2021 15:38
@nickvergessen nickvergessen merged commit 7566178 into master May 19, 2021
@nickvergessen nickvergessen deleted the bugfix/noid/reusable-user-ids-one-to-one-chats branch May 19, 2021 07:09
@nickvergessen
Copy link
Member Author

/backport to stable21.1

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

Labels

4. to release bug feature: api 🛠️ OCS API for conversations, chats and participants

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants