Skip to content

Endless creation of unnamed ad-hoc groups #1763

Closed

Description

@link2xt

When user receives a message about user leaving the group, and they don't know the group ID yet, they will create an ad-hoc group with random ID and display message "group ... left by ..." there. If they try to leave this group, they send a message using their locally generated group ID, so everyone receiving this message will see it in another group, with IDs each member has generated locally. The only workaround currently is to delete the group without leaving it, as attempts to leave new unnamed groups produce new groups for each member.

Activity

  1. link2xt commented on Jul 26, 2020

    @link2xt
    CollaboratorAuthor

    These messages actually contain Chat-Group-Id, so they should not be assigned to ad-hoc group.

    Example message:

    Content-Type: text/plain; charset=utf-8
    Chat-Disposition-Notification-To: [email protected]
    Chat-Group-ID: 31ed7540c0f0f538
    Chat-Group-Name: =?utf-8?q?Unnamed_group?=
    Chat-Group-Member-Removed: [email protected]
    Subject: =?utf-8?q?Re=3A_Unnamed_group?=
    MIME-Version: 1.0
    ...
    From: [email protected]
    
    Group left by me.
    
  2. link2xt commented on Jul 26, 2020

    @link2xt
    CollaboratorAuthor

    The whole idea of randomly generated IDs for ad-hoc groups seems wrong to me. Such groups are meant to represent normal email threads created by non-DC clients. Each DC user will have their own ad-hoc group-ID for the same thread, so attempts to write to this group or leave it create split groups for other DC users, because they learn about new group IDs. Maybe matching by Reply-ID should help: #1568 But it also does not make sense to send Chat-Group-ID for ad-hoc groups.

  3. link2xt commented on Jul 26, 2020

    @link2xt
    CollaboratorAuthor

    Seems it started with this message:

    Chat-Group-ID: d4f0f369d72a25c9
    Chat-Group-Name: =?utf-8?q?Unnamed_group?=
    Chat-Group-Member-Removed: [email protected]
    Subject: =?utf-8?q?Re=3A_Unnamed_group?=
    MIME-Version: 1.0
    References: <[email protected]>
    	<[email protected]>
    In-Reply-To: <[email protected]>
    

    The message is a reply to a normal group, but has ad-hoc group ID.

  4. changed the title [-]Endless creation of unnamed ad-hoc groups[/-] [+]Do not allow leaving ad-hoc groups[/+] on Jul 26, 2020
  5. changed the title [-]Do not allow leaving ad-hoc groups[/-] [+]Endless creation of unnamed ad-hoc groups[/+] on Jul 26, 2020
  6. Hocuri commented on Jul 27, 2020

    @Hocuri
    Collaborator

    I agree that there seems to be no reason why ad-hoc groups should have an id. They should be defined only by the list of their members (?).

    • Leaving is difficult:
      • Writing a message to all users is annoying to non-dc users
      • Not being able to leave will be annoying to this user if other dc-users continue to write to this group and treat it as a normal group.
      • Maybe there should be an option to block an ad-hoc group?
    • Actually, if the group name or image is changed, this change should not be sent to the other members, either (don't know how this is currently).
    • Maybe the group name should even be changed every time someone changes the subject
  7. link2xt commented on Jul 27, 2020

    @link2xt
    CollaboratorAuthor

    Closing this in favor of #1766, which describes the bug better. For ad-hoc group leaving, will create a separate issue.

  8. added
    bug
    on Aug 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions