1.标题五
1.发生的
- 发斯蒂芬
- fsd
- fds
2.fsdf
- fsdf
// 用户本人,
if (message.direction == EMMessageDirectionSend) {
model.nickname = _userModel.nickname;
//message.from;
NSString *urlStr = [_userModel.headimgurl appendPrefixWithServiceDomain];
model.avatarURLPath = urlStr;
//@"http://image.3761.com/attachments/image/2017-05/20170506080537_20759.jpg";
}
// EMMessageDirectionReceive
else {
model.nickname = _toUserModel.nickname; // message.from;
model.avatarURLPath = [_toUserModel.headimgurl appendPrefixWithServiceDomain]; // @"http://p.3761.com/pic/43701399945993.png";
}