1
This commit is contained in:
parent
3e90315b75
commit
2e2e0e1de7
@ -168,5 +168,14 @@ func (this *friendMgr) addFriendShip(accountId1 string, accountId2 string, addTi
|
||||
this.friendHash[accountId1] = make(map[string]int32)
|
||||
friends = this.getFriends(accountId1)
|
||||
}
|
||||
(*friends)[accountId2] = addTime
|
||||
}
|
||||
{
|
||||
friends := this.getFriends(accountId2)
|
||||
if friends != nil {
|
||||
this.friendHash[accountId2] = make(map[string]int32)
|
||||
friends = this.getFriends(accountId2)
|
||||
}
|
||||
(*friends)[accountId1] = addTime
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user