2021-09-20 20:59:25 +02:00
# Quick account switching in FluffyChat
FluffyChat 0.41.0 brings support for using multiple accounts and has an early
2021-09-20 21:38:42 +02:00
implementation of quickly switching accounts via input bar (useful for roleplaying :wink:), which will get
2021-09-20 20:59:25 +02:00
better in a future release, but for now, for impatient people, it can
2021-09-20 21:26:40 +02:00
be used by enabling a prefix with Element's (Web/Desktop) `/devtools` by editing
the account state which can also be used for sorting accounts.
1. Open FluffyChat
2. Long touch your account name and select "Add to bundle". Name the new
2021-09-20 21:38:02 +02:00
bundle whatever you want as long as it's the same across your quick-switching accounts,
it will be visible below the account switcher and groups accounts (e.g. between personal and work)
2021-09-20 21:26:40 +02:00
3. Open Element Web
4. In any chatbox enter `/devtools` and enter
2021-09-20 21:32:40 +02:00
5. Select "Explore Account Data"
2021-09-20 21:26:40 +02:00
6. Search for and select `im.fluffychat.account_bundles`
2021-09-20 21:32:40 +02:00
7. Above (or below, doesn't matter) the `"bundles": [` line, add `"prefix": "M",` where `M` is your
2021-09-20 21:26:40 +02:00
prefix to quickly switch to this account.
8. Optionally if you wish to sort your account, add a `,` to the line where
your bundle is named and to the next line: `"priority": 0`
9. Start/restart FluffyChat
10. Type `M message` and the account automatically switches from another account
2021-09-20 21:32:40 +02:00
to the one you just configured.
2021-09-20 21:26:40 +02:00
General notes:
* 0.4.1 has a bug where using automatic server discovery through well-known
causes all accounts to get logged out. Use server name instead, e.g. `https://matrix-client.matrix.org` (discovered from https://matrix.org/.well-known/matrix/client)
* Quick account switching will only work within a bundle, which by default is implied to be the MXID, so by default it's disabled
2021-09-20 21:45:52 +02:00
* Note the avatar next to the input bar showing which account you are using. It can also be used for switching accounts.
* Tapping it to change account will also change who will send an image or a voice message.
* Long tapping a message and editing a message send as another account will
auto-set the indicator as your roleplay character.
2021-09-20 21:26:40 +02:00
Big thank you to FluffyChat contributors who made this feature and Sorunome
for initially explaining how to do this so I could attempt to make a more clearer
note on how to do it and later corrected me a lot on this file.
## Appendix: example `im.fluffychat.account_bundles` account event
2021-09-20 20:59:25 +02:00
```json
{
2021-09-20 21:26:40 +02:00
"type": "im.fluffychat.account_bundles",
"content": {
"prefix": "M",
2021-09-20 20:59:25 +02:00
"bundles": [
{
2021-09-20 21:26:40 +02:00
"name": "Meow",
"priority": 0
2021-09-20 20:59:25 +02:00
}
2021-09-20 21:26:40 +02:00
]
}
2021-09-20 20:59:25 +02:00
}
```
2021-09-20 21:26:40 +02:00
on account `mikaela` on `https://matrix.feneas.org` (aka `@mikaela:feneas.org` )