This commit is contained in:
aozhiwei 2020-10-09 16:35:24 +08:00
parent 8270a31c06
commit f036cd9de6

View File

@ -481,7 +481,8 @@ void Guild::_CMGuildDismiss(f8::MsgHdr& hdr, const cs::CMGuildDismiss& msg)
void Guild::_CMGuildChange(f8::MsgHdr& hdr, const cs::CMGuildChange& msg)
{
ss::SS_IM_ForwardGuildCMMsg *forward_msg = (ss::SS_IM_ForwardGuildCMMsg*)hdr.user_data;
if ((!msg.has_guild_name() || msg.guild_name() == guild_name_) &&
(!msg.has_guild_declaration() || msg.guild_declaration() == guild_declaration_)) {
if (msg.has_guild_name()) {
guild_name_ = msg.guild_name();
}
@ -507,6 +508,7 @@ void Guild::_CMGuildChange(f8::MsgHdr& hdr, const cs::CMGuildChange& msg)
forward_msg->context(),
respmsg);
MarkDirty();
}
}
void Guild::_CMGuildMemberList(f8::MsgHdr& hdr, const cs::CMGuildMemberList& msg)