Originally Posted by galvin
Is the serverID a good way to test to see if the sender on a whisper is on the same server as you? Wrote up some code to get the serverID from UnitGUID(), then compare that with the GUID of the sender on a whisper event.
|
The server name has been appended to the sender name (eg. arg2 is "Sender-RealmName") since
5.4.7, even for same-realm senders, but I suppose if you want to use the server ID from the GUID instead, it's the same amount of work (one string operation and one comparison) so it doesn't really matter which method you use.