Skip to content

Persistent groups don't work properly when using toxync bot #960

@tox-user

Description

@tox-user

Reproducible: always

Steps:

  1. Install toxcore with persistent group chats.
  2. Join a toxync (96BE12EB9AF2F6851704412FA2981E03E32BBD18D40F6040D01F107A20CACC07639D8D4F2A94) group, for example #qtox: join #qtox).
  3. Make sure toxync is your only friend in that group.
  4. Toxync will autoinvite you by default, which would make this test irrelevant. To disable autoinvite type: leave #qtox.
  5. Exit Tox without leaving the group.
  6. Start Tox again.

Observed behaviour:
Tox doesn't rejoin a toxync group. When you then request an invite by using join #qtox command, it will get automatically accepted - Tox will join the group without asking for permission. This only happens in toxync groups.

Expected behaviour:
Rejoin feature should work for all groups. Don't join groups without permission.

Notes:

  • without step 3, you might get an automatic invite from your other friends, instead from toxync (even if they don't have a toxcore with persistent groupchats), which will most likely work, but the purpouse of this test is to show that it doesn't work with toxync
  • step 4 is necessary, because toxync by default keeps sending you group invites to all groups that you've joined. That makes it impossibleto test persistent group's auto rejoin feature
  • toxync often loses connection. Because it doesn't use persistent groups, it must create all of its groups again after it reconnects. It could be possible that we don't get reconnected to its group, because it no longer exists (toxync lost connection). If that was true, this problem would only be reproducible after toxync loses connection at least once, so it wouldn't be reproducible always

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low priority

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions