mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-26 22:12:05 +01:00
Small tweak.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2057 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
31854b21a3
commit
368674eca4
1 changed files with 1 additions and 1 deletions
|
@ -400,7 +400,7 @@ public class Roster {
|
||||||
public void processPacket(Packet packet) {
|
public void processPacket(Packet packet) {
|
||||||
Presence presence = (Presence)packet;
|
Presence presence = (Presence)packet;
|
||||||
String from = presence.getFrom();
|
String from = presence.getFrom();
|
||||||
String key = StringUtils.parseName(from) + "@" + StringUtils.parseServer(from);
|
String key = StringUtils.parseBareAddress(from);
|
||||||
// If an "available" packet, add it to the presence map. This means that for
|
// If an "available" packet, add it to the presence map. This means that for
|
||||||
// a particular user, we'll only ever have a single presence packet saved.
|
// a particular user, we'll only ever have a single presence packet saved.
|
||||||
// Because this ignores resources, this is not an ideal solution, so will
|
// Because this ignores resources, this is not an ideal solution, so will
|
||||||
|
|
Loading…
Reference in a new issue