fix some compile warnning

Signed-off-by: xiehuc <xiehuc@gmail.com>
fix login with email address

Signed-off-by: xiehuc <xiehuc@gmail.com>
clean smemory

Signed-off-by: xiehuc <xiehuc@gmail.com>
Revert "clean smemory"

This reverts commit 4be1ab0bf897035dc302f25fec8b0422df67a92b.
clean smemory without side effect

Signed-off-by: xiehuc <xiehuc@gmail.com>
show info when recv add friend request

Signed-off-by: xiehuc <xiehuc@gmail.com>
add client type tooltip

Signed-off-by: xiehuc <xiehuc@gmail.com>
adjust lwqq_time
change pthread_cond_wait to pthread_cond_timedwait

Signed-off-by: xiehuc <xiehuc@gmail.com>
change offline message to normal im

Signed-off-by: xiehuc <xiehuc@gmail.com>
add passerby function

Signed-off-by: xiehuc <xiehuc@gmail.com>
add passerby as friend

Signed-off-by: xiehuc <xiehuc@gmail.com>
enhanced create discu

Signed-off-by: xiehuc <xiehuc@gmail.com>
add compatibility with librecent.so
remove necessary of get version

Signed-off-by: xiehuc <xiehuc@gmail.com>
add modify self longnick
Signed-off-by: xiehuc <xiehuc@gmail.com>
add a valid check when login
Signed-off-by: xiehuc <xiehuc@gmail.com>
Merge branch 'upstream-preview' into preview