Fetch icon indicating copy to clipboard operation
Fetch copied to clipboard

Make server immutable

Open sagikazarmark opened this issue 10 years ago • 0 comments

Server is currently a mutable object being able to authenticate, set the current mailbox, etc. By making immutable I mean increasing immutability to be able to:

  • authenticate to a server with different credentials, so that it does not get overwritten (maybe a connection object or something)
  • get mailboxes (as an object) from the server/connection and operate on them directly instead of doing it on the server object

What do you think?

sagikazarmark avatar Jan 18 '15 00:01 sagikazarmark