mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2025-01-09 17:53:50 +00:00
parent
156752b4a7
commit
41307f6a0f
2 changed files with 4 additions and 3 deletions
|
@ -1098,18 +1098,18 @@ class LocalAvatar(DistributedAvatar.DistributedAvatar, DistributedSmoothNode.Dis
|
|||
|
||||
def __friendOnline(self, doId):
|
||||
friend = base.cr.identifyFriend(doId)
|
||||
if friend:
|
||||
if friend != None:
|
||||
self.setSystemMessage(doId, OTPLocalizer.WhisperFriendComingOnline % friend.getName())
|
||||
|
||||
def __friendOffline(self, doId):
|
||||
friend = base.cr.identifyFriend(doId)
|
||||
if friend:
|
||||
if friend != None:
|
||||
self.setSystemMessage(0, OTPLocalizer.WhisperFriendLoggedOut % friend.getName())
|
||||
|
||||
def clickedWhisper(self, doId):
|
||||
friend = base.cr.identifyFriend(doId)
|
||||
|
||||
if friend:
|
||||
if friend != None:
|
||||
messenger.send('clickedNametag', [friend])
|
||||
self.chatMgr.whisperTo(friend.getName(), doId)
|
||||
|
||||
|
|
|
@ -239,6 +239,7 @@ class TTSFriendsManagerUD(DistributedObjectGlobalUD):
|
|||
friendId = friend[0]
|
||||
if friendId in self.onlineToons:
|
||||
self.sendUpdateToAvatarId(doId, 'friendOnline', [friendId])
|
||||
self.sendUpdateToAvatarId(friendId, 'friendOnline', [doId])
|
||||
|
||||
def goingOffline(self, avId):
|
||||
self.toonOffline(avId)
|
||||
|
|
Loading…
Reference in a new issue