diff options
author | Daniel Gultsch <daniel.gultsch@rwth-aachen.de> | 2014-04-10 14:12:08 +0200 |
---|---|---|
committer | Daniel Gultsch <daniel.gultsch@rwth-aachen.de> | 2014-04-10 14:12:08 +0200 |
commit | 644473205ab261157f500470d496999db665d75f (patch) | |
tree | ca059f9b294bfaa79c6ed8dfb3d6fedddcaecf06 /src/eu/siacs/conversations/entities/Message.java | |
parent | ba0bedc5facabc573023925660d7d49b27d5c68c (diff) |
incomming jingle packets are routed to their connection. added presence chooser in gui
Diffstat (limited to '')
-rw-r--r-- | src/eu/siacs/conversations/entities/Message.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/eu/siacs/conversations/entities/Message.java b/src/eu/siacs/conversations/entities/Message.java index a81ff0d3..841edfff 100644 --- a/src/eu/siacs/conversations/entities/Message.java +++ b/src/eu/siacs/conversations/entities/Message.java @@ -166,4 +166,8 @@ public class Message extends AbstractEntity { public int getType() { return this.type; } + + public void setPresence(String presence) { + this.counterpart = this.counterpart.split("/")[0] + "/" + presence; + } } |