Backup Accounts feature #3166
gamemode-3
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Motivation
Because many homeservers are run by independent individuals or non-profits and funded by donations, it's not guaranteed that the owners will always be able to continue maintaining them. If a homeserver were to suddenly break down it would be beneficial to have a backup account on another server that you could just continue using.
Mechanism (Sketch)
The basic mechanism would be as follows:
Say account
@A:a.organd@B:b.orgare associated,Ais the primary account andBis the secondary (backup) account.Aenters a new chat with@C:c.org, the client automatically addsBto the room.AandBboth send newm.accountlink(or different name) events to make sure they are configured correctly and to notifyCof the association. WhenAsends messagesBandCreceive them. IfC's client supports Backup Accounts it would not show them as separate members but would show that A has an associated backup account. If B were to send a message, it would look identical to C as when A sends a message (or maybe just with a little hint).(If
Acan't addB, the event would also be sent so that compatible admin clients or the server could addB. They would first queryBto determine whetherBagrees that it is a backup account ofA)If
a.orgnow goes down, the owner will simply be able to log intoBand everything will be backed up there. There would then be the option to unlinkAwhich would removeAfrom all rooms whereBhas the permission and will send anm.accountunlink(again, name is just for illustration) event to notify other participants. Where this is implemented the admin clients or server could then make sure the unlinked account is removed based on the event (provided there was prior authentication that this link actually existed and was acknowledged byA).This is what comes to my mind, it would have to be discussed how rooms hosted on
a.orgwould be handled, and it might also be that none of this is feasible (i'm pretty new to matrix)Curious to hear your thoughts
Beta Was this translation helpful? Give feedback.
All reactions