Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

您好,想咨询个问题 #3

Closed
lieoo opened this issue Apr 17, 2017 · 8 comments
Closed

您好,想咨询个问题 #3

lieoo opened this issue Apr 17, 2017 · 8 comments

Comments

@lieoo
Copy link

lieoo commented Apr 17, 2017

在消息界面,获取聊天记录时,能否做到按照最后会话时间的戳倒叙排列 像微信一样,这里是否可以优化一下?
NSPredicate 可以做到吗

@boyssimple
Copy link
Owner

应该是可以的,我看有空优化下

@boyssimple
Copy link
Owner

已处理

@lieoo lieoo closed this as completed Apr 17, 2017
@lieoo lieoo reopened this Apr 17, 2017
@lieoo lieoo closed this as completed Apr 17, 2017
@boyssimple
Copy link
Owner

boyssimple commented Apr 20, 2017 via email

@lieoo
Copy link
Author

lieoo commented Apr 20, 2017

请教一下 WebRTC 这边 您服务端是怎么做的

@lieoo
Copy link
Author

lieoo commented Apr 20, 2017

最近这里两天在研究 群聊功能,遇到了好多坑 网上的资料也很少。
比如您的 XmppTools.m 里面
[_xmppAutoPing setPingInterval:1];
这里不应该 arg 不应该为 1 。这个方法会影响到 群聊功能接受响应方法
- (BOOL)xmppStream:(XMPPStream *)sender didReceiveIQ:(XMPPIQ *)iq{}
arg 为 1 的话 这个方法大约一秒走一次这个方法,很消耗性能。我目前填写的是 1000.

@boyssimple
Copy link
Owner

boyssimple commented Apr 20, 2017 via email

@lieoo
Copy link
Author

lieoo commented Apr 20, 2017

群聊这里我写了一部分 目前只实现了 加入、创建群聊功能。
这里蛮恶心的,比如 用户离线了以后 房间列表里就不存在这个用户了 还没处理
我正在写群聊天记录功能,头很大 还不知道怎么下手

@boyssimple
Copy link
Owner

boyssimple commented Apr 20, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants