server icon indicating copy to clipboard operation
server copied to clipboard

refactor(encryption): Migrate from hooks to events

Open susnux opened this issue 1 year ago • 1 comments

Summary

Migrate code from hooks to typed events, also unify the user events as some had already a getUid method -> now all provide this convenient helper.

Checklist

susnux avatar Sep 25 '24 00:09 susnux

Not sure I like the getUid thing, especially since it uses a different casing than the method from IUser.

The IUser one is quite old, older than our naming guidelines that prefer Uid over UID (or Url over URL). But I am fine with removing it again, I just thought it would make sense to unify it as there are already events with getUid (exactly that casing).

susnux avatar Sep 26 '24 17:09 susnux