e37cfe6036
Using a static lock would prevent two Client instances to call the method at the same time. We're going to assume that people won't have multiple Client instances for the same user, in which case a static lock would have been helpful. Co-authored-by: Jonas Platte <jplatte@matrix.org>