Skip to content

Add self to the group when a MUA reply is received #4624

@anaskaejdar

Description

@anaskaejdar
  • Operating System (Linux/Mac/Windows/iOS/Android): Android
  • Delta Chat Version: 1.38.4

Expected behavior:

There are at least a couple ways it could be handled:

  • Deltachat would ignore a user added via a traditional MUA if that user was recently removed from the group. Deltachat would not put this user back into the member list. (I believe this is by far the more preferable behavior.)
    • Maybe DC considers whether the message is a reply to a previous message that was sent before the user was removed from the group.
  • The removed user's deltachat client would recognize that he/she has been added back into the group by the traditional MUA user.

Actual behavior:

It creates a major discrepancy in room state between the removed user and all the other users. The deltachat user that was removed continues to receive messages, but cannot himself send anything to the group. Why? His deltachat still only thinks he has been removed from the group. From his own perspective, he does not appear in the group's member list, and thus the text box et al are hidden away.

The strange part is that the other deltachat users in the same group will perceive that he is a member once again. He will appear in the member list just as before. For this reason, he will continue to receive messages from the group, though he cannot respond to them.

Steps to reproduce the problem:

  1. Have a bunch of email addresses to test with
  2. Make a group of three or four (or more) addresses.
  3. Send a message to the group
  4. Remove one of the members
  5. From a different address, and using a traditional MUA like K9Mail, send a reply-all in response to the earlier message (step 3)
  6. (notice: The removed user is almost certainly there in the To: field)
  7. In deltachat, perceive that the removed user is once again included in the member list, because of his inclusion in the traditional MUA message (step 5).
  8. In deltachat, send a message to the group
  9. (notice: The removed user received the message.)
  10. Try to send something to the group in deltachat, from the user that was removed in step 4.
  11. (notice: You cannot send anything to the group, as the text box is hidden away from you.)
  • Screenshots:
  • Logs:

Metadata

Metadata

Assignees

Labels

bugSomething is not working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions