Skip to content
This repository has been archived by the owner on Oct 19, 2022. It is now read-only.

Group-Chat: Messages can be received after leaving group chat #530

Open
matthesatox opened this issue Apr 14, 2020 · 1 comment
Open

Group-Chat: Messages can be received after leaving group chat #530

matthesatox opened this issue Apr 14, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@matthesatox
Copy link

Describe the bug
After leaving the group chat, the left member can still receive messages and the chat history is still visible

To Reproduce
Occurrence: always
Steps to reproduce the behavior:

  1. Create a new group chat
  2. Invite some user
  3. send a message to the group
  4. creator leaves the group

Expected behavior
Chat history should disappear and messages shouldn't be received anymore

Screenshots
If applicable, add screenshots to help explain your problem.

App information (please complete the following information):

  • App version: 0.600.2 (515)
  • Plugin version: [e.g. 0.4.0]
  • Delta Chat Core version: [e.g. 0.40.0]
  • Flutter version: [e.g. 1.0]

Smartphone (please complete the following information):

  • Device: iPhone 11 Pro Max
  • OS: iOS 13.4.1

Additional context
Add any other context about the problem here.

Internal Bug Tracker.

@Boehrsi Boehrsi added the bug Something isn't working label Apr 14, 2020
@Boehrsi
Copy link
Collaborator

Boehrsi commented Apr 14, 2020

Chat history should disappear

I think this is based on a previously created test case? If yes we have to adapt the test case + flow. The expected behavior is the following, if a user leaves a group or is removed by someone else:

  • Group isn't deleted
  • History + remaining users are still visible
  • Not possible to send messages to or receive messages from the group
  • Not possible to change group settings / participants
  • Instead of "Leave group" the user is able to "Delete group" (this removes the group + history completely)
  • This is the handling most messengers provide and we also do it this way, the previous leave is equal delete handling wasn't optimal and more a bug than intention.

Member can still receive messages

I just tried to reproduce (on Android and iOS) that and wasn't able to do so.

  • A creates group with B and C
  • A sends a message (received by B + C)
  • B sends a message (received by A + C)
  • A leaves the group
  • B sends a message (received by C)
  • A receives no message, but keeps the state of the moment he left (last message should "Group left by me")

A, B and C are COI app users. If a legacy user replies to all - where A was still a member - the message is probably shown / a new chat is created for A, we can't avoid this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants