kontalk / androidclient

Kontalk official Android client
https://www.kontalk.org
GNU General Public License v3.0
571 stars 194 forks source link

Automatically accept invitation when subscription is already 'to' #370

Closed abika closed 9 years ago

abika commented 9 years ago

When Alice requests invitation from Bob and it was granted, the (auto send) invitation from Bob is shown. This is unnecessary: When Alice can talk to Bob, Bob should always be able to talk back to Alice (or not?).

daniele-athome commented 9 years ago

Actually this should be achieved with "Subscription pre-approvals" which is the same thing you're describing (if I understood it correctly, tell me if I'm wrong) but assisted by the server. The server will remember that the user sent an unsolicited subscribed presence and autogrants the permission to the subscriber, so they can immediately exchange messages.

However... I could use this approach as a workaround for now because pre-approval is not yet supported by Tigase (it will be in version 7.1.0 which is not coming out right now).

abika commented 9 years ago

The server will remember that the user sent an unsolicited subscribed presence and autogrants the permission to the subscriber, so they can immediately exchange messages.

Exactly what I mean, this is even better