32 |
32 |
33 local function anonymous(self, message) |
33 local function anonymous(self, message) |
34 local username; |
34 local username; |
35 repeat |
35 repeat |
36 username = generate_uuid(); |
36 username = generate_uuid(); |
37 until self.profile.anonymous(username, self.realm); |
37 until self.profile.anonymous(self, username, self.realm); |
38 self.username = username; |
38 self.username = username; |
39 return "success" |
39 return "success" |
40 end |
40 end |
41 |
41 |
42 function init(registerMechanism) |
42 function init(registerMechanism) |