def _handle_userInfo(self, data):
for k, v in data.items():<EOL><INDENT>if k == "<STR_LIT>":<EOL><INDENT>if v == "<STR_LIT:None>":<EOL><INDENT>v = "<STR_LIT>"<EOL><DEDENT>setattr(self.room.user, k, v)<EOL>self.conn.enqueue_data(k, self.room.user.nick)<EOL><DEDENT>elif k != "<STR_LIT>":<EOL><INDENT>if not hasattr(self.room, k):<EOL><INDENT>warnings.warn(f"<STR_LIT>", ResourceWarning)<EOL>continue<EOL><DEDENT>setattr(self.room, k, v)<EOL>self.conn.enqueue_data(k, getattr(self.room, k))<EOL><DEDENT>self.room.user_info = k, v<EOL><DEDENT>self.conn.enqueue_data("<STR_LIT>", self.room.user_info)<EOL>
Handle user information