6.3 Person Log

Source: Internet
Author: User

Name

Tangtian

Time

2016-06-30

Today's content

On the fourth day of software development, two bug fixes were first made today.

  1. After adding the time display function, the private chat cannot be done normally.

The problem lies in:

The service side identifies the sending object of the private chat message by identifying the ":", adding the time after the ":" Location changes, not the correct nickname.

Workaround: Add the identifier after the nickname.

  1. After the nickname is duplicated, there will be more false users

The problem is: The server side hints that the nickname is not disconnected after the alias, but the port name to save the user, change the nickname after the link again, the previous port is also displayed,

Workaround:

Closes the connection after prompting the error.

Fix bug Add new function, shortcut key:

Add a key to the input box to listen

1. Now after entering a message in the message window, you can simply press ENTER to send it without clicking the Send button.

Realize:

Press ENTER after entering a different dialog box to perform the relevant functions directly

  1. Press the "↑" key to automatically enter the previous message in the input box.

The problems encountered

In the second bug fix, a direct shutdown of the connection after sending the error message will cause the message to fail to send

Solution Solutions

Join the Thread.slppe () function to wait for the message to be sent after the link is closed.

6.3 Person Log

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.