talk-ios
talk-ios copied to clipboard
Add scheme URL for switching accounts
We should add a scheme url for switching accounts, but only if that account is logged in, otherwise do nothing. In the Files app we use this url scheme, so ideally it should be the same:
nextcloud://open-and-switch-account?user=someUser&url=https://cloud.nextcloud.com
It's a feature request connected to: https://github.com/nextcloud/ios/issues/2460
@SystemKeeper can you check if you have this in talk-ios? I think this was closed by accident.
We don't have this right now, you can either trigger a login or switch to a conversation. With the latter we either enforce withUser or withRoomToken as parameters. If we remove that enforcement, we have the functionality we want (without user/room token just switch to the account). The URL would then look like this
nextcloudtalk://open-conversation?server=https://nextcloud-mm.local&user=admin
That would be a 1-line change. Would that work for you?